Code

Dto..
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 30 Mar 2007 14:07:22 +0000 (14:07 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 30 Mar 2007 14:07:22 +0000 (14:07 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5945 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupManagement.inc

index d4d814e64d17be5b6c83665bd62943d665ad91ee..83dd8b50a3676752b9f8ca3d9cd0df09c467fa32 100644 (file)
@@ -424,13 +424,8 @@ class groupManagement extends plugin
     /* Collect primary groupIDs to show primary groups 
        if this option is enabled in gosa conf && the checkbox is checked */  
     if ($this->ShowPrimaryCheckBox){
-      if ($SubSearch){
-        $res = get_list("(&(uid=$Regex)(!(uid=*$))(objectClass=posixAccount)(gidNumber=*))", $this->ui->subtreeACL,
-            $base,array("gidNumber", "cn"),  GL_SUBSEARCH);
-      } else {
-        $res = get_list("(&(uid=$Regex)(!(uid=*$))(objectClass=posixAccount)(gidNumber=*))", $this->ui->subtreeACL,
-            $base,array("gidNumber", "cn"));
-      }
+      $res = get_list("(&(uid=$Regex)(!(uid=*$))(objectClass=posixAccount)(gidNumber=*))", $this->ui->subtreeACL,
+          $base,array("gidNumber", "cn"),  GL_SUBSEARCH);
       foreach ($res as $attrs){
         $primaries[$attrs['gidNumber'][0]]= $attrs['cn'][0];
       }