Code

Updated groupGeneric
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sun, 9 Mar 2008 08:09:34 +0000 (08:09 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sun, 9 Mar 2008 08:09:34 +0000 (08:09 +0000)
-With enabled rfc2307bis saving of empty grpups failed "PHP Fatal error:  [] operator not supported for strings"

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

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

index ed6f1a28ae8ca43ab53b8fb375a4c45698943962..14f38be1e8a6f125acd14f4d1edf3606593b328f 100644 (file)
@@ -790,8 +790,8 @@ class group extends plugin
 
     /* Add member dn's for RFC2307bis Support */
     if ($this->rfc2307bis){
+      $this->attrs['member'] = array();
       if (count($this->memberUid)){
-        $this->attrs['member'] = array();
         foreach($this->attrs['memberUid'] as $uid) {
           $this->attrs['member'][]= $this->dnMapping[$uid];
         }