From 937e0f7139991a7030137d1781acda97b5ad4db4 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 20 Jul 2009 06:48:48 +0000 Subject: [PATCH] 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 --- gosa-core/plugins/admin/groups/class_groupGeneric.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- 2.30.2