* 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:17:02 +00:00
parent 2f69917988
commit 2af28ce33e

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);
}