From: hickert Date: Tue, 1 Jun 2010 11:49:09 +0000 (+0000) Subject: Avoid multiple entries X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=657ad29af717e03821007ae172b6bd3787e5cf64;p=gosa.git Avoid multiple entries git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18816 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/dyngroup/addons/dyngroup/classDynamicLdapGroup.inc b/gosa-plugins/dyngroup/addons/dyngroup/classDynamicLdapGroup.inc index 656946795..8fb1487d3 100644 --- a/gosa-plugins/dyngroup/addons/dyngroup/classDynamicLdapGroup.inc +++ b/gosa-plugins/dyngroup/addons/dyngroup/classDynamicLdapGroup.inc @@ -231,6 +231,7 @@ class DynamicLdapGroup extends plugin $scope = $this->scopes[$entry['scope']]; $this->labeledURI[] = "{$entry['base']}?{$entry['attr']}?{$scope}?{$entry['filter']}"; } + $this->labeledURI = array_unique($this->labeledURI); parent::save(); $this->cleanup();