From cb469fa841cd71a5f94101cd258903cf1847f6aa Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 10 Mar 2009 10:34:13 +0000 Subject: [PATCH] Updated groupMail -Fixed continue problem git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13522 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/mail/admin/groups/mail/class_groupMail.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.30.2