From 7d1fa9135df37f94bbef409cbae29ad9dfd33213 Mon Sep 17 00:00:00 2001 From: janw Date: Wed, 10 Sep 2008 15:26:12 +0000 Subject: [PATCH] Fix search. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12406 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/server/events/gosaTriggered.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(), ); -- 2.30.2