From: hickert Date: Mon, 20 Jul 2009 06:48:48 +0000 (+0000) Subject: Fixed errors occured while saving rfc2307bis groups with invalid group members. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=937e0f7139991a7030137d1781acda97b5ad4db4;p=gosa.git Fixed errors occured while saving rfc2307bis groups with invalid group members. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13936 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/groups/class_groupGeneric.inc b/gosa-core/plugins/admin/groups/class_groupGeneric.inc index d0d192e6f..6857dba5d 100644 --- a/gosa-core/plugins/admin/groups/class_groupGeneric.inc +++ b/gosa-core/plugins/admin/groups/class_groupGeneric.inc @@ -1045,7 +1045,10 @@ class group extends plugin $this->attrs['member'] = array(); if (count($this->memberUid)){ foreach($this->attrs['memberUid'] as $uid) { - $this->attrs['member'][]= $this->dnMapping[$uid]; + + if(isset($this->dnMapping[$uid])){ + $this->attrs['member'][]= $this->dnMapping[$uid]; + } } } else { $this->attrs['member'][]= $this->dn;