Skip to content

Commit

Permalink
fixup! Return early if server doesn't support quota
Browse files Browse the repository at this point in the history
  • Loading branch information
pabzm committed Jan 25, 2024
1 parent b0dc40f commit 2953aa8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions program/include/rcmail_action.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ public static function quota_set_env()
// Return early if the server doesn't support quotas anyway.
if ($quota === false) {
$rcmail->output->set_env('quota', false);
return;
}
$zero_as_unlimited = (bool) $rcmail->config->get('quota_zero_as_unlimited');
// Show the quota display only if it's not unlimited.
Expand Down

0 comments on commit 2953aa8

Please sign in to comment.