From: cajus Date: Fri, 30 Mar 2007 14:07:22 +0000 (+0000) Subject: Dto.. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6c728bfe0065e3ad54b9a81634b3a123954c03a3;p=gosa.git Dto.. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5945 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/groups/class_groupManagement.inc b/plugins/admin/groups/class_groupManagement.inc index d4d814e64..83dd8b50a 100644 --- a/plugins/admin/groups/class_groupManagement.inc +++ b/plugins/admin/groups/class_groupManagement.inc @@ -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]; }