diff options
Diffstat (limited to 'settings/js/users/users.js')
-rw-r--r-- | settings/js/users/users.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/users/users.js b/settings/js/users/users.js index 4a4faf13ec7..af41790a7c4 100644 --- a/settings/js/users/users.js +++ b/settings/js/users/users.js @@ -592,7 +592,7 @@ var UserList = { if (quota === 'other') { return; } - if ((quota !== 'default' && quota !== "none") && (!OC.Util.computerFileSize(quota))) { + if (quota !== 'default' && quota !== "none" && OC.Util.computerFileSize(quota) === null) { // the select component has added the bogus value, delete it again $select.find('option[selected]').remove(); OC.Notification.showTemporary(t('core', 'Invalid quota value "{val}"', {val: quota})); |