summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e9929ed)
raw | patch | inline | side by side (parent: e9929ed)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 20 Aug 2009 12:27:04 +0000 (12:27 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 20 Aug 2009 12:27:04 +0000 (12:27 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14091 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_filterLDAP.inc | patch | blob | history |
index 222225b2b1950788f0e9a3b05cb148ce47bad74b..f2cfd53b076fef5b5d72414c90685cc3b00279d5 100644 (file)
{
$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;
}