From: hickert Date: Fri, 4 Jan 2008 10:17:58 +0000 (+0000) Subject: Removed get_sub_list when not in subsearch X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7c6563285f6734d9e5a75f47e1c3a48f51b4886b;p=gosa.git Removed get_sub_list when not in subsearch git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8214 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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)); } } }