Code

Updated group copy&paste.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 20 Jul 2009 06:42:56 +0000 (06:42 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 20 Jul 2009 06:42:56 +0000 (06:42 +0000)
-Copy accessTo values too.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13935 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 159bfbb91c9b251f6fff073b17309cf549057ac1..d0d192e6f76be43261b361aff62abea11eef62ff 100644 (file)
@@ -1451,6 +1451,13 @@ class group extends plugin
         $this->memberUid[] = $source['memberUid'][$i];
       }
     }
+    $this->accessTo = array();
+    if (isset($source['accessTo'])){
+      for ($i= 0; $i<$source['accessTo']['count']; $i++){
+        $tmp= $source['accessTo'][$i];
+        $this->accessTo[$tmp]= $tmp;
+      }
+    }
   }