From: hickert Date: Wed, 27 Jan 2010 14:20:00 +0000 (+0000) Subject: Fixed undefined index warning X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=02ef7c3badab79fa7706bd64cf6243db7fd7bfbf;p=gosa.git Fixed undefined index warning git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15383 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 73cb3879f..217710e4a 100644 --- a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc +++ b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc @@ -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()."=*))")){