From: cajus Date: Thu, 20 Aug 2009 12:27:04 +0000 (+0000) Subject: Made sub search work X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1af07221fe66a55411cb2c2a08b7e8e1bf3a9b76;p=gosa.git Made sub search work git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14091 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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; }