mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-07 14:39:43 +01:00
Do not let empty string as email alias in vacation dialog
This commit is contained in:
parent
becb66b7ce
commit
c2d24ac84a
@ -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