From d2818b55643d5ce839246a2c1568ffd0d83b1503 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Tue, 21 Aug 2012 13:05:07 +0200
Subject: [PATCH] Fix name error.

---
 .../vifib_upgrader/ERP5Site_fixPersonConsistency.xml            | 2 +-
 master/bt5/vifib_upgrader/bt/revision                           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/ERP5Site_fixPersonConsistency.xml b/master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/ERP5Site_fixPersonConsistency.xml
index d28c56cb6..083f5d27d 100644
--- a/master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/ERP5Site_fixPersonConsistency.xml
+++ b/master/bt5/vifib_upgrader/SkinTemplateItem/portal_skins/vifib_upgrader/ERP5Site_fixPersonConsistency.xml
@@ -50,7 +50,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>portal.portal_catalog.searchAndActivate(method_id=\'fixConsistency\', portal_type=\'Person\')\n
+            <value> <string>context.getPortalObject().portal_catalog.searchAndActivate(method_id=\'fixConsistency\', portal_type=\'Person\')\n
 \n
 return \'ok\'\n
 </string> </value>
diff --git a/master/bt5/vifib_upgrader/bt/revision b/master/bt5/vifib_upgrader/bt/revision
index 6d3e9dc78..8306ec157 100644
--- a/master/bt5/vifib_upgrader/bt/revision
+++ b/master/bt5/vifib_upgrader/bt/revision
@@ -1 +1 @@
-129
\ No newline at end of file
+130
\ No newline at end of file
-- 
2.30.9