From 5c42f4254e4eac8f464b300a3268a59c610afb32 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 15 Aug 2016 11:44:13 +0200 Subject: [PATCH] Do not let empty string as email alias in vacation dialog --- mail/inc/class.mail_sieve.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/inc/class.mail_sieve.inc.php b/mail/inc/class.mail_sieve.inc.php index b6aae58e5d..465e04bc62 100644 --- a/mail/inc/class.mail_sieve.inc.php +++ b/mail/inc/class.mail_sieve.inc.php @@ -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')