From 2953aa8e79356194691308ab3323ecfc6cb8b7fb Mon Sep 17 00:00:00 2001 From: Pablo Zmdl Date: Thu, 25 Jan 2024 10:49:32 +0100 Subject: [PATCH] fixup! Return early if server doesn't support quota --- program/include/rcmail_action.php | 1 + 1 file changed, 1 insertion(+) diff --git a/program/include/rcmail_action.php b/program/include/rcmail_action.php index eaec16b154c..21281bcc7fe 100644 --- a/program/include/rcmail_action.php +++ b/program/include/rcmail_action.php @@ -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.