From: hickert Date: Tue, 10 Mar 2009 10:34:13 +0000 (+0000) Subject: Updated groupMail X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cb469fa841cd71a5f94101cd258903cf1847f6aa;p=gosa.git Updated groupMail -Fixed continue problem git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13522 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 ee636c8e3..027fd8349 100644 --- a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc +++ b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc @@ -1185,7 +1185,7 @@ class mailgroup extends plugin */ function addForwarder($address) { - if(empty($address)) continue; + if(empty($address)) return; $this->gosaMailForwardingAddress[]= $address; $this->gosaMailForwardingAddress= array_unique($this->gosaMailForwardingAddress); @@ -1205,7 +1205,7 @@ class mailgroup extends plugin */ function delForwarder($addresses) { - if(empty($address)) continue; + if(empty($addresses)) return; $this->gosaMailForwardingAddress= array_remove_entries ($addresses, $this->gosaMailForwardingAddress);