diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-11-02 00:16:40 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-11-02 00:16:40 +0100 |
commit | d9e97610999ddf9f3a060b786f22d0abb054521e (patch) | |
tree | 9dc8f4fc29e7dcaa8a0915e2b94c8f065a71fada /apps/files/admin.php | |
parent | 0f02b7dea65ee13b6b29dc16a0de5a4ab5c9b01d (diff) | |
download | nextcloud-server-d9e97610999ddf9f3a060b786f22d0abb054521e.tar.gz nextcloud-server-d9e97610999ddf9f3a060b786f22d0abb054521e.zip |
Fix a typo
Diffstat (limited to 'apps/files/admin.php')
-rw-r--r-- | apps/files/admin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/admin.php b/apps/files/admin.php index c183a4ba4b4..76616bc4373 100644 --- a/apps/files/admin.php +++ b/apps/files/admin.php @@ -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); |