From c20d2d534b1b08ed26c5218669252dd02c8a9e83 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 11 Sep 2009 08:35:05 +0000 Subject: [PATCH] Updated mail group git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14225 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 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; -- 2.30.2