Code

Added GL_NONE to do *no* subtree search
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 30 Mar 2007 14:04:13 +0000 (14:04 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 30 Mar 2007 14:04:13 +0000 (14:04 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5943 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupManagement.inc

index 3d693a37c1f5241c2aa074f24e2984ebf106c82e..724e946666b4c8c05896f3da6a4f9eeebe631b32 100644 (file)
@@ -436,7 +436,7 @@ class groupManagement extends plugin
             "groups", $base,array("gidNumber", "cn"),  GL_SUBSEARCH);
       } else {
         $res = get_list("(&(uid=$Regex)(!(uid=*$))(objectClass=posixAccount)(gidNumber=*))",
-            "groups", $base,array("gidNumber", "cn"));
+            "groups", $base,array("gidNumber", "cn"), GL_NONE);
       }
       foreach ($res as $attrs){
         $primaries[$attrs['gidNumber'][0]]= $attrs['cn'][0];
@@ -449,7 +449,7 @@ class groupManagement extends plugin
     if ($SubSearch){
       $res = get_list($ff, "groups", $base,array("gidNumber", "cn", "description"), GL_SUBSEARCH);
     } else {
-      $res = get_list($ff, "groups", $base,array("gidNumber", "cn", "description"));
+      $res = get_list($ff, "groups", $base,array("gidNumber", "cn", "description"), GL_NONE);
     }
     foreach($res as $attrs){
       if (!isset($primaries[$attrs['gidNumber'][0]])){