Commit dc3c63de authored by Jérome Perrin's avatar Jérome Perrin

"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
parent 48cae5ad
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>request = container.REQUEST\n <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 current_url = request[\'dialog_action_url\']\n
for action in dialog_actions:\n for action in dialog_actions:\n
if current_url == action[\'original_url\']:\n if current_url == action[\'original_url\']:\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment