Code

Avoid multiple entries
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 1 Jun 2010 11:49:09 +0000 (11:49 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 1 Jun 2010 11:49:09 +0000 (11:49 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18816 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/dyngroup/addons/dyngroup/classDynamicLdapGroup.inc

index 6569467954b3eeead9d6bdf3a87b9f3d7b01bd12..8fb1487d38753de783a362b9a4ab5f61e3a25434 100644 (file)
@@ -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();