summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/provisioning_api/lib/Controller/UsersController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php
index b1b110b5289..567f5f1c7db 100644
--- a/apps/provisioning_api/lib/Controller/UsersController.php
+++ b/apps/provisioning_api/lib/Controller/UsersController.php
@@ -880,7 +880,7 @@ class UsersController extends OCSController {
}
$quota = OC_Helper::computerFileSize($user->getQuota());
$data = [
- 'quota' => $quota,
+ 'quota' => $quota ? $quota : 'none',
'used' => 0
];
}