]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix a typo
authorLukas Reschke <lukas@statuscode.ch>
Thu, 1 Nov 2012 23:16:40 +0000 (00:16 +0100)
committerLukas Reschke <lukas@statuscode.ch>
Thu, 1 Nov 2012 23:16:40 +0000 (00:16 +0100)
apps/files/admin.php

index c183a4ba4b4ef332cd1ebc52d8096ebd8de411da..76616bc437343afb5f1eacb4887e68930c6408df 100644 (file)
@@ -35,7 +35,7 @@ $post_max_size = OCP\Util::computerFileSize(ini_get('post_max_size'));
 $post_max_size_possible = OCP\Util::computerFileSize(get_cfg_var('post_max_size'));
 $maxUploadFilesize = OCP\Util::humanFileSize(min($upload_max_filesize, $post_max_size));
 $maxUploadFilesizePossible = OCP\Util::humanFileSize(min($upload_max_filesize_possible, $post_max_size_possible));
-if($_POST && OC_Util::isCallRegistered) {
+if($_POST && OC_Util::isCallRegistered()) {
        if(isset($_POST['maxUploadSize'])) {
                if(($setMaxSize = OC_Files::setUploadLimit(OCP\Util::computerFileSize($_POST['maxUploadSize']))) !== false) {
                        $maxUploadFilesize = OCP\Util::humanFileSize($setMaxSize);