From: hickert Date: Thu, 15 Sep 2011 09:08:47 +0000 (+0000) Subject: Backports from trunk X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=096b20606748c749700088d2379ce1a6edc3aa47;p=gosa.git Backports from trunk -Fixed in_array call, use in_array_strict now git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.7@21006 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc index d28b9526f..acaae12ed 100644 --- a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc +++ b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc @@ -343,7 +343,7 @@ class mailgroup extends plugin $list = $this->mailAddressSelect->save(); foreach ($list as $entry){ $val = $entry['mail'][0]; - if (!in_array ($val, $this->gosaMailAlternateAddress) && $val != $this->mail){ + if (!in_array_strict($val, $this->gosaMailAlternateAddress) && $val != $this->mail){ $this->addForwarder($val); $this->is_modified= TRUE; }