From 096b20606748c749700088d2379ce1a6edc3aa47 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 15 Sep 2011 09:08:47 +0000 Subject: [PATCH] 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 --- gosa-plugins/mail/admin/groups/mail/class_groupMail.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2