[Erp5-report] r9038 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplate...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Aug 3 18:20:26 CEST 2006
Author: vincent
Date: Thu Aug 3 18:20:20 2006
New Revision: 9038
URL: http://svn.erp5.org?rev=9038&view=rev
Log:
Don't fail if the given action is an empty string (ie, split returns no element).
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5XhtmlStyle_doAction.xml
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5XhtmlStyle_doAction.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5XhtmlStyle_doAction.xml?rev=9038&r1=9037&r2=9038&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5XhtmlStyle_doAction.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5XhtmlStyle_doAction.xml Thu Aug 3 18:20:20 2006
@@ -73,6 +73,8 @@
preserved_parameters={}\n
\n
Base_doAction = select_action.split()\n
+if len(Base_doAction) == 0:\n
+ return\n
doAction0 = Base_doAction[0]\n
request = context.REQUEST\n
\n
@@ -181,6 +183,7 @@
<string>N_</string>
<string>preserved_parameters</string>
<string>Base_doAction</string>
+ <string>len</string>
<string>_getitem_</string>
<string>doAction0</string>
<string>request</string>
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=9038&r1=9037&r2=9038&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Thu Aug 3 18:20:20 2006
@@ -1,1 +1,1 @@
-72
+74
More information about the Erp5-report
mailing list