From: janw Date: Wed, 10 Sep 2008 15:26:12 +0000 (+0000) Subject: Fix search. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7d1fa9135df37f94bbef409cbae29ad9dfd33213;p=gosa.git Fix search. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12406 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/server/events/gosaTriggered.pm b/gosa-si/server/events/gosaTriggered.pm index 61239b0dc..162da660a 100644 --- a/gosa-si/server/events/gosaTriggered.pm +++ b/gosa-si/server/events/gosaTriggered.pm @@ -938,7 +938,7 @@ sub trigger_activate_new { } # Add to ObjectGroup - if(!(scalar grep $_, map {$_ => 1} $ogroup_entry->get_value('member', asref => 1))) { + if(!(scalar grep $_ eq $ldap_entry->dn(), map {$_ => 1} $ogroup_entry->get_value('member', asref => 1))) { $ogroup_entry->add ( 'member' => $ldap_entry->dn(), );