From e2dd5d138596af7cddf52644abdeee26be960641 Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Tue, 19 Sep 2006 13:47:04 +0000
Subject: [PATCH] Do not remove parameter, better put it as an optionnal
 parameter. It has not much meaning but to prevent unknown scripts from
 crashing when calling.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10171 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_core/Base_editRelation.xml            | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_editRelation.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_editRelation.xml
index 5991562c29..f08a644743 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_editRelation.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_editRelation.xml
@@ -124,7 +124,7 @@ return context.Base_edit(form_id,\n
         </item>
         <item>
             <key> <string>_params</string> </key>
-            <value> <string>form_id, field_id, selection_index, selection_name, uids, listbox_uid, form_pickle, form_signature, batch_mode=0</string> </value>
+            <value> <string>form_id, field_id, selection_index, selection_name, uids, listbox_uid, form_pickle, form_signature, batch_mode=0, object_uid=0</string> </value>
         </item>
         <item>
             <key> <string>errors</string> </key>
@@ -144,7 +144,7 @@ return context.Base_edit(form_id,\n
                   <dictionary>
                     <item>
                         <key> <string>co_argcount</string> </key>
-                        <value> <int>9</int> </value>
+                        <value> <int>10</int> </value>
                     </item>
                     <item>
                         <key> <string>co_varnames</string> </key>
@@ -159,6 +159,7 @@ return context.Base_edit(form_id,\n
                             <string>form_pickle</string>
                             <string>form_signature</string>
                             <string>batch_mode</string>
+                            <string>object_uid</string>
                             <string>Products.ERP5Type.Message</string>
                             <string>Message</string>
                             <string>Products.Formulator.Errors</string>
@@ -193,6 +194,7 @@ return context.Base_edit(form_id,\n
             <value>
               <tuple>
                 <int>0</int>
+                <int>0</int>
               </tuple>
             </value>
         </item>
-- 
2.30.9