summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3feb69f)
raw | patch | inline | side by side (parent: 3feb69f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 15 Sep 2011 09:08:47 +0000 (09:08 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 15 Sep 2011 09:08:47 +0000 (09:08 +0000) |
-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
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 | patch | blob | history |
diff --git a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc
index d28b9526fa11b5884f98497ecd58bb4e995def99..acaae12ede8a79d25ef375b0a1be4cd347560899 100644 (file)
$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;
}