X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fclass_filterLDAP.inc;h=7697462049580281c7976e3314516cdeafd5e74f;hb=0ed9b1739e716b327ca773724ebcfec83eb2904b;hp=e929bee90f1781a88cce2a3570b83fab8a901b1a;hpb=c11862e8ac5e68d71480bccbb0de346a01086930;p=gosa.git 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();