Fixes #1360 : taille mailbox sur page d'accueil

This commit is contained in:
Axel ROGER 2012-11-08 08:53:22 +00:00
parent a2eae62f3e
commit ef0113dfb6
1 changed files with 1 additions and 1 deletions

View File

@ -409,7 +409,7 @@ class m_quota {
/* sum of mailbox sizes for one domain */
function get_size_mail_sum_domain($dom) {
return $this->_get_sum_sql("SELECT SUM(size) AS sum FROM dovecot_view WHERE user LIKE '%@{$dom}'");
return $this->_get_sum_sql("SELECT SUM(quota_dovecot) AS sum FROM dovecot_view WHERE user LIKE '%@{$dom}'");
}
/* count of mailbox sizes from all domains */