mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 20:49:08 +01:00
return only integer quota (im MB) as Dovecot does not deal with floats
This commit is contained in:
parent
0addb59e99
commit
a43c5d3f1f
@ -367,7 +367,7 @@ class Sql extends Mail\Smtp
|
||||
if ($return_extra)
|
||||
{
|
||||
$join .= ' LEFT JOIN '.self::TABLE.' quota ON quota.account_id='.Api\Accounts\Sql::TABLE.'.account_id AND quota.mail_type='.self::TYPE_QUOTA;
|
||||
$cols .= ','.Api\Accounts\Sql::TABLE.'.account_id AS account_id,quota.mail_value AS quota';
|
||||
$cols .= ','.Api\Accounts\Sql::TABLE.'.account_id AS account_id,ROUND(quota.mail_value,0) AS quota';
|
||||
}
|
||||
$mailboxes = array();
|
||||
foreach($this->db->select(self::TABLE, $cols,
|
||||
|
Loading…
Reference in New Issue
Block a user