Fix quota return if unlimited

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-03-22 10:08:48 +01:00
parent 6e7b7749bd
commit 63fa245461
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
1 changed files with 1 additions and 1 deletions

View File

@ -880,7 +880,7 @@ class UsersController extends OCSController {
}
$quota = OC_Helper::computerFileSize($user->getQuota());
$data = [
'quota' => $quota,
'quota' => $quota ? $quota : 'none',
'used' => 0
];
}