Code

Updated mail group
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 11 Sep 2009 08:35:05 +0000 (08:35 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 11 Sep 2009 08:35:05 +0000 (08:35 +0000)
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

index 56361f493ac6f7ae2f470c938e3a958c38aa5cb5..a456ea1fc731444ca52328d3aff6892e98059e01 100644 (file)
@@ -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;