Little bugfix in the display of mails quotas (main.php)

This commit is contained in:
Axel ROGER 2012-11-19 09:32:56 +00:00
parent 83030c3534
commit 298c230d29
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ if (!isset($mode)) { # when included from adm_login, mode is not set
foreach ($domaines_user as $domaine) { foreach ($domaines_user as $domaine) {
$alias_sizes = $quota->get_size_mail_details_domain($domaine); $alias_sizes = $quota->get_size_mail_details_domain($domaine);
$domsize = 0; $domsize = 0;
$d = $quota->get_size_unit($domsize);
foreach ($alias_sizes as $e) { foreach ($alias_sizes as $e) {
if($e['size'] > 0) { if($e['size'] > 0) {
$domsize += $e['size']; $domsize += $e['size'];