Code

Moved to avoid errors for non array operators
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Mar 2008 07:15:43 +0000 (07:15 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Mar 2008 07:15:43 +0000 (07:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@9888 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupGeneric.inc

index c3f782ba968f3f91b7dfdabc6d6fa93b33d93c8b..3e45d71ff4eb141b5af7ed277614d79f744147a9 100644 (file)
@@ -687,8 +687,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];
         }