mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
need to set ident_email_alias selectbox too, if changing identity
This commit is contained in:
parent
754d5ac893
commit
b19476ede3
@ -1231,12 +1231,12 @@ class admin_mail
|
|||||||
{
|
{
|
||||||
$identity = Mail\Account::read_identity($content['ident_id'], false, $content['called_for']);
|
$identity = Mail\Account::read_identity($content['ident_id'], false, $content['called_for']);
|
||||||
unset($identity['account_id']);
|
unset($identity['account_id']);
|
||||||
$content = array_merge($content, $identity);
|
$content = array_merge($content, $identity, array('ident_email_alias' => $identity['ident_email']));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$content['ident_name'] = $content['ident_realname'] = $content['ident_email'] =
|
$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'])
|
if (empty($msg) && $edit_access && $content['ident_id'] && $content['ident_id'] != $content['std_ident_id'])
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user