From 1af07221fe66a55411cb2c2a08b7e8e1bf3a9b76 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 20 Aug 2009 12:27:04 +0000 Subject: [PATCH] Made sub search work git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14091 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_filterLDAP.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gosa-core/include/class_filterLDAP.inc b/gosa-core/include/class_filterLDAP.inc index 222225b2b..f2cfd53b0 100644 --- a/gosa-core/include/class_filterLDAP.inc +++ b/gosa-core/include/class_filterLDAP.inc @@ -6,9 +6,10 @@ class filterLDAP { { $config= session::global_get('config'); $ldap= $config->get_ldap_link(TRUE); + $flag= ($scope == "sub")?GL_SUBSEARCH:0; $result= filterLDAP::get_list($base, $scope, $filter, $attributes, $category, $objectStorage, $objectBase, - GL_SUBSEARCH | GL_SIZELIMIT); + $flag | GL_SIZELIMIT); return $result; } -- 2.30.2