Commit 9b10f78b authored by Romain Courteaud's avatar Romain Courteaud

Prevent using empty value from REQUEST.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25099 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3f333a66
......@@ -56,8 +56,8 @@
<value> <string>request = container.REQUEST\n
RESPONSE = request.RESPONSE\n
\n
format = request.get(\'format\', \'pdf\')\n
skin_name = request.get(\'skin_name\', \'ODT\')\n
format = request.get(\'format\', \'pdf\') or \'pdf\'\n
skin_name = request.get(\'skin_name\', \'ODT\') or \'ODT\'\n
\n
portal = context.getPortalObject()\n
N_ = portal.Base_translateString\n
......
43
\ No newline at end of file
44
\ No newline at end of file
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