Code

Fixed undefined index warning
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 27 Jan 2010 14:20:00 +0000 (14:20 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 27 Jan 2010 14:20:00 +0000 (14:20 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15383 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/mail/admin/groups/mail/class_groupMail.inc

index 73cb3879fd9b557a608decf56947bdc49ec26003..217710e4a6ab555f1a4af93724f77f7aea76af04 100644 (file)
@@ -226,6 +226,7 @@ class mailgroup extends plugin
     $ldap->cd($this->config->current['BASE']);
     if(isset($this->parent->by_object['group'])){
       foreach($this->parent->by_object['group']->memberUid as $uid){
+        if(!isset($this->parent->by_object['group']->dnMapping[$uid])) continue;
         $dn = $this->parent->by_object['group']->dnMapping[$uid];
         $member['all'][$uid] = $uid;
         if($ldap->object_match_filter($dn,"(&(objectClass=gosaMailAccount)(".$this->mailMethod->getUAttrib()."=*))")){