From b511a4022cee9b42a12750562bce919825fb97cc Mon Sep 17 00:00:00 2001
From: Leonardo Rochael Almeida <leonardo@nexedi.com>
Date: Mon, 16 Nov 2009 16:26:03 +0000
Subject: [PATCH] Fix syntax error (default parameter before mandatory)

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

diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_createCloneDocument.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_createCloneDocument.xml
index 3f06949603..d46cfbb6a2 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_createCloneDocument.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_createCloneDocument.xml
@@ -138,7 +138,7 @@ else:\n
         </item>
         <item>
             <key> <string>_params</string> </key>
-            <value> <string>clone=1, form_id, web_mode=0, editable_mode=0, batch_mode=0</string> </value>
+            <value> <string>clone=1, form_id=\'view\', web_mode=0, editable_mode=0, batch_mode=0</string> </value>
         </item>
         <item>
             <key> <string>_proxy_roles</string> </key>
@@ -215,7 +215,7 @@ else:\n
             <value>
               <tuple>
                 <int>1</int>
-                <none/>
+                <string>view</string>
                 <int>0</int>
                 <int>0</int>
                 <int>0</int>
-- 
2.30.9