* 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 9b9dd473b4
commit 5850f84ae7

View File

@ -941,7 +941,7 @@ class admin_mail
unset($content['notify_use_default']);
}
// 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'];
}