From: hickert Date: Fri, 11 Sep 2009 08:35:05 +0000 (+0000) Subject: Updated mail group X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c20d2d534b1b08ed26c5218669252dd02c8a9e83;p=gosa.git Updated mail group git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14225 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 56361f493..a456ea1fc 100644 --- a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc +++ b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc @@ -1262,7 +1262,7 @@ class mailgroup extends plugin */ function delAlternate($addresses) { - if(empty($address)) continue; + if(!count($addresses)) return; $this->gosaMailAlternateAddress= array_remove_entries ($addresses, $this->gosaMailAlternateAddress); $this->is_modified= TRUE;