* Mail: fixed exception when opening vacation notice or sieve-rules for an account with a changed standard identity or later created account

emailadmin_account::read_identity() needs ident_id NOT acc_id as 1. parameter
This commit is contained in:
Ralf Becker 2015-02-09 09:18:05 +00:00
parent acebbba931
commit e94c57d6b1

View File

@ -69,7 +69,7 @@ class mail_sieve
if ($acc_id > 0)
{
$this->account = emailadmin_account::read($acc_id);
$identity = emailadmin_account::read_identity($acc_id,true);
$identity = emailadmin_account::read_identity($this->account->ident_id,true);
$this->currentIdentity = mail_bo::generateIdentityString($identity,false);
}