diff --git a/apps/files_trashbin/lib/trash.php b/apps/files_trashbin/lib/trash.php index f0cfa496832c469485affdd7cedb435b7e9ba079..0b8472198d9066f3932ff7f45feb650d92ebee33 100644 --- a/apps/files_trashbin/lib/trash.php +++ b/apps/files_trashbin/lib/trash.php @@ -102,7 +102,7 @@ class Trashbin { // get available disk space for user $quota = \OC_Preferences::getValue($user, 'files', 'quota'); - if ( $quota === null ) { + if ( $quota === null || $quota === 'default') { $quota = \OC_Appconfig::getValue('files', 'default_quota'); } if ( $quota === null ) {