Skip to content

Commit

Permalink
fix wrong size-unit for mailquota-dashboard-info; fixes #1207
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Kaufmann <[email protected]>
  • Loading branch information
d00p committed Dec 15, 2023
1 parent 00456a3 commit 778fd3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions customer_index.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@
$userinfo['traffic_bytes_used'] = $userinfo['traffic_used'] * 1024;

if (Settings::Get('system.mail_quota_enabled')) {
$userinfo['email_quota_bytes'] = ($userinfo['email_quota'] > -1) ? $userinfo['email_quota'] * 1024 : -1;
$userinfo['email_quota_bytes_used'] = $userinfo['email_quota_used'] * 1024;
$userinfo['email_quota_bytes'] = ($userinfo['email_quota'] > -1) ? $userinfo['email_quota'] * 1024 * 1024 : -1;
$userinfo['email_quota_bytes_used'] = $userinfo['email_quota_used'] * 1024 * 1024;
}

if ($usages) {
Expand Down

0 comments on commit 778fd3b

Please sign in to comment.