summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9fbb3d5)
raw | patch | inline | side by side (parent: 9fbb3d5)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 1 Jun 2010 12:12:37 +0000 (12:12 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 1 Jun 2010 12:12:37 +0000 (12:12 +0000) |
-Add brackets if missing
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18821 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18821 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/dyngroup/addons/dyngroup/classDynamicLdapGroup.inc | patch | blob | history |
diff --git a/gosa-plugins/dyngroup/addons/dyngroup/classDynamicLdapGroup.inc b/gosa-plugins/dyngroup/addons/dyngroup/classDynamicLdapGroup.inc
index 28ebd67b0f73b5063065e8844903a60fb3e1c625..6fcf63bb416f8dd6340bba7058d83c285d505c72 100644 (file)
$this->labeledURI = array();
foreach($this->labeledURIparsed as $entry){
$scope = $this->scopes[$entry['scope']];
- $this->labeledURI[] = "{$entry['base']}?{$entry['attr']}?{$scope}?{$entry['filter']}";
+ $filter = $entry['filter'];
+ $filter = '('.trim($filter, '() ').')';
+ $this->labeledURI[] = "{$entry['base']}?{$entry['attr']}?{$scope}?{$filter}";
}
$this->labeledURI = array_unique($this->labeledURI);