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

add missing len() that caused Base_callDialogMethod to always call the script...

add missing len() that caused Base_callDialogMethod to always call the script instead of redirecting when possible 

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7059 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 11096b11
......@@ -159,7 +159,7 @@ try:\n
\n
# If url is too long, we do not redirecting\n
# to avoir crash <christophe@nexedi.com>\n
if make_query(cleanedup_kw) > 200 :\n
if len(make_query(cleanedup_kw)) > 200 :\n
cannot_redirect = 1\n
\n
# if we cannot redirect, then call the form directly.\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