From b19476ede3cff66ba270f42cb054c52f6fe94186 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 28 Oct 2016 14:53:51 +0200 Subject: [PATCH] need to set ident_email_alias selectbox too, if changing identity --- admin/inc/class.admin_mail.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/inc/class.admin_mail.inc.php b/admin/inc/class.admin_mail.inc.php index fbc2034f81..6ff8d4485d 100644 --- a/admin/inc/class.admin_mail.inc.php +++ b/admin/inc/class.admin_mail.inc.php @@ -1231,12 +1231,12 @@ class admin_mail { $identity = Mail\Account::read_identity($content['ident_id'], false, $content['called_for']); unset($identity['account_id']); - $content = array_merge($content, $identity); + $content = array_merge($content, $identity, array('ident_email_alias' => $identity['ident_email'])); } else { $content['ident_name'] = $content['ident_realname'] = $content['ident_email'] = - $content['ident_org'] = $content['ident_signature'] = ''; + $content['ident_email_alias'] = $content['ident_org'] = $content['ident_signature'] = ''; } if (empty($msg) && $edit_access && $content['ident_id'] && $content['ident_id'] != $content['std_ident_id']) {