summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e648b1a)
raw | patch | inline | side by side (parent: e648b1a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 22 Feb 2008 08:54:56 +0000 (08:54 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 22 Feb 2008 08:54:56 +0000 (08:54 +0000) |
-Use get_sub_list in a correct way.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9050 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9050 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/users/class_userManagement.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc
index a11701c4c768f7289b39556b6461c3203acda7c1..6af909014bacb2ce822ba965a07a4ea780f4561b 100644 (file)
$ldap= $this->config->get_ldap_link(TRUE);
if ($SubSearch){
- $ListTemp = get_sub_list($filter, "users", preg_replace("/,.*$/","",get_people_ou()),$base,
+ $ListTemp = get_sub_list($filter, "users", get_people_ou(),$base,
array("uid", "givenName", "sn", "objectClass","userPassword"), GL_SUBSEARCH | GL_SIZELIMIT);
} else {
$base= get_people_ou().$base;
- $ListTemp = get_sub_list($filter, "users", preg_replace("/,.*$/","",get_people_ou()),$base,
+ $ListTemp = get_sub_list($filter, "users", get_people_ou(),$base,
array("uid", "givenName", "sn", "objectClass","userPassword"), GL_SIZELIMIT);
}
$SortTemp = array();