We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90b9f4e commit 139b351Copy full SHA for 139b351
interface/web/dashboard/dashlets/mailquota.php
@@ -26,6 +26,11 @@ function show($limit_to_client_id = null) {
26
foreach($emails as &$email) {
27
$email['email'] = $app->functions->idn_decode($email['email']);
28
$email['used'] = $app->functions->formatBytes($email['used_raw'], 0);
29
+ // Mail is the exception with 0 == unlimited, instead of -1
30
+ if ($email['quota_raw'] == 0) {
31
+ $email['quota_raw'] = -1;
32
+ }
33
+
34
$email['quota'] = $app->functions->formatBytesOrUnlimited($email['quota_raw'], 0);
35
$total_used += $email['used_raw'];
36
}
0 commit comments