Code

Fixed errors occured while saving rfc2307bis groups with invalid group members.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 20 Jul 2009 06:48:48 +0000 (06:48 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 20 Jul 2009 06:48:48 +0000 (06:48 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13936 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/groups/class_groupGeneric.inc

index d0d192e6f76be43261b361aff62abea11eef62ff..6857dba5ddbfe981c32e97706480047ee3cca667 100644 (file)
@@ -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;