From 7c6563285f6734d9e5a75f47e1c3a48f51b4886b Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 4 Jan 2008 10:17:58 +0000 Subject: [PATCH] Removed get_sub_list when not in subsearch git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8214 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/admin/systems/class_systemManagement.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/plugins/admin/systems/class_systemManagement.inc b/gosa-core/plugins/admin/systems/class_systemManagement.inc index 73a64aec9..00f39f4af 100644 --- a/gosa-core/plugins/admin/systems/class_systemManagement.inc +++ b/gosa-core/plugins/admin/systems/class_systemManagement.inc @@ -1018,7 +1018,7 @@ class systems extends plugin /* User filter? */ if($oc['CLASS'] != ""){ $filter = "(&".$userregex."(objectClass=".$oc['CLASS'].")(cn=".$this->DivListSystem->Regex."))"; - $res = array_merge($res,get_sub_list($filter,$sys_categories,preg_replace("/,.*$/","",$oc['TREE']),$oc['TREE'].$base, $sys_attrs, GL_NONE | GL_SIZELIMIT)); + $res = array_merge($res,get_list($filter,$sys_categories,$oc['TREE'].$base, $sys_attrs, GL_NONE | GL_SIZELIMIT)); } } } -- 2.30.2