mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
Do not let empty string as email alias in vacation dialog
This commit is contained in:
parent
6c98f02bc7
commit
5c42f4254e
@ -446,7 +446,7 @@ class mail_sieve
|
||||
if (is_null($accountID)) $accountID = $GLOBALS['egw_info']['user']['account_id'];
|
||||
|
||||
$accAllIdentities = $this->account->smtpServer()->getAccountEmailAddress(Api\Accounts::id2name($accountID));
|
||||
$allAliases = array($this->account->ident_email);
|
||||
$allAliases = $this->account->ident_email !=''? array($this->account->ident_email): array();
|
||||
foreach ($accAllIdentities as &$arrVal)
|
||||
{
|
||||
if ($arrVal['type'] !='default')
|
||||
|
Loading…
Reference in New Issue
Block a user