index e929bee90f1781a88cce2a3570b83fab8a901b1a..7697462049580281c7976e3314516cdeafd5e74f 100644 (file)
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();