[Erp5-report] r18051 - /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateIte...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Dec 6 12:59:07 CET 2007


Author: jerome
Date: Thu Dec  6 12:59:06 2007
New Revision: 18051

URL: http://svn.erp5.org?rev=18051&view=rev
Log:
"str in REQUEST" construct only works for zope 2.8

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5Site_getCurrentDialogAction.xml

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5Site_getCurrentDialogAction.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5Site_getCurrentDialogAction.xml?rev=18051&r1=18050&r2=18051&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5Site_getCurrentDialogAction.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5Site_getCurrentDialogAction.xml Thu Dec  6 12:59:06 2007
@@ -66,7 +66,7 @@
         <item>
             <key> <string>_body</string> </key>
             <value> <string>request = container.REQUEST\n
-if \'dialog_action_url\' in request:\n
+if request.get(\'dialog_action_url\'):\n
   current_url = request[\'dialog_action_url\']\n
   for action in dialog_actions:\n
     if current_url == action[\'original_url\']:\n




More information about the Erp5-report mailing list