diff --git a/mail/inc/class.mail_sieve.inc.php b/mail/inc/class.mail_sieve.inc.php index 404325f8ed..180f0c0166 100644 --- a/mail/inc/class.mail_sieve.inc.php +++ b/mail/inc/class.mail_sieve.inc.php @@ -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); }