From 6ee0b782e4a2871cabf82f74913d25ad900d5043 Mon Sep 17 00:00:00 2001
From: Yusei Tahara <yusei@nexedi.com>
Date: Mon, 17 Sep 2007 17:12:28 +0000
Subject: [PATCH] Fixed a bug that update even non-related event.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16427 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_crm/Ticket_updateRelatedEventLocalRole.xml             | 2 +-
 bt5/erp5_crm/bt/revision                                        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_updateRelatedEventLocalRole.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_updateRelatedEventLocalRole.xml
index f072e730a0..9c85ebe608 100644
--- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_updateRelatedEventLocalRole.xml
+++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_updateRelatedEventLocalRole.xml
@@ -72,7 +72,7 @@
 event_portal_type_list = portal.getPortalEventTypeList()\n
 \n
 for i in portal.portal_catalog(portal_type=event_portal_type_list,\n
-                               follow_up=context.getRelativeUrl()):\n
+                               follow_up_uid=context.getUid()):\n
   i.activate().updateLocalRolesOnSecurityGroups()\n
 </string> </value>
         </item>
diff --git a/bt5/erp5_crm/bt/revision b/bt5/erp5_crm/bt/revision
index 3fbd193e4a..e3b5acb834 100644
--- a/bt5/erp5_crm/bt/revision
+++ b/bt5/erp5_crm/bt/revision
@@ -1 +1 @@
-106
\ No newline at end of file
+107
\ No newline at end of file
-- 
2.30.9