* Mail: Fix create new identity can not save email address

This commit is contained in:
Hadi Nategh 2017-03-30 16:05:09 +02:00
parent 94315a941a
commit 83768e932d

View File

@ -941,7 +941,7 @@ class admin_mail
unset($content['notify_use_default']); unset($content['notify_use_default']);
} }
// copy ident_email_alias selectbox back to regular name // copy ident_email_alias selectbox back to regular name
elseif (isset($content['ident_email_alias'])) elseif (isset($content['ident_email_alias']) && !empty ($content['ident_email_alias']))
{ {
$content['ident_email'] = $content['ident_email_alias']; $content['ident_email'] = $content['ident_email_alias'];
} }