From cfdb2bcd6cd5eb2325416ac1025591b4e4aba735 Mon Sep 17 00:00:00 2001 From: SJ Date: Wed, 28 Aug 2013 13:11:05 +0200 Subject: [PATCH] gui fix --- webui/model/user/auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui/model/user/auth.php b/webui/model/user/auth.php index de400668..1246c8b7 100644 --- a/webui/model/user/auth.php +++ b/webui/model/user/auth.php @@ -164,7 +164,7 @@ class ModelUserAuth extends Model { foreach (array("mail", "mailalternateaddress", "proxyaddresses", "zimbraMailForwardingAddress", "member", "memberOfGroup") as $mailattr) { if(isset($a[$mailattr])) { - if(isset($a[$mailattr]['count'])) { + if(is_array($a[$mailattr])) { for($i = 0; $i < $a[$mailattr]['count']; $i++) { if(preg_match("/^smtp\:/i", $a[$mailattr][$i]) || strchr($a[$mailattr][$i], '@') ) { $email = strtolower(preg_replace("/^smtp\:/i", "", $a[$mailattr][$i]));