forked from extern/egroupware
* 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:
parent
2f69917988
commit
2af28ce33e
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user