From 44c4e33fe33bce47f68dcdac644fea42f7ce0e2f Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 27 Nov 2009 16:32:02 +0000 Subject: [PATCH] Do subsearches if the filter is not set to auto git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14841 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_filterLDAP.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/include/class_filterLDAP.inc b/gosa-core/include/class_filterLDAP.inc index e929bee90..769746204 100644 --- a/gosa-core/include/class_filterLDAP.inc +++ b/gosa-core/include/class_filterLDAP.inc @@ -24,7 +24,7 @@ class filterLDAP { if (!is_array($objectStorage)) { $objectStorage= array($objectStorage); } - $method= empty($objectStorage)?"ls":"search"; + $method= (empty($objectStorage) && !($flags & GL_SUBSEARCH))?"ls":"search"; // Initialize search bases $bases= array(); -- 2.30.2