From dc3c63de07cc18b9c7dcbed5a3f42544015b5232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Thu, 6 Dec 2007 11:59:06 +0000 Subject: [PATCH] "str in REQUEST" construct only works for zope 2.8 git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18051 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_xhtml_style/ERP5Site_getCurrentDialogAction.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5Site_getCurrentDialogAction.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5Site_getCurrentDialogAction.xml index c15090c43d..61cee6b6dc 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5Site_getCurrentDialogAction.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5Site_getCurrentDialogAction.xml @@ -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 -- 2.30.9