Commit a4dc9f78 authored by Vincent Pelletier's avatar Vincent Pelletier

Fix an undeclared variable error in a rarely taken execution path.

Discovered & fix by Łukasz Nowak. Thanks !


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21739 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 40375875
...@@ -203,7 +203,7 @@ if len(listbox_id_list):\n ...@@ -203,7 +203,7 @@ if len(listbox_id_list):\n
can_redirect = 0\n can_redirect = 0\n
# Warn if there are more than one listbox in form ...\n # Warn if there are more than one listbox in form ...\n
if len(listbox_id_list) > 1:\n if len(listbox_id_list) > 1:\n
log(\'Base_callDialogMethod\', \'There are %s listboxes in form %s.\' % (len(listbox_id_list), form.id))\n context.log(\'Base_callDialogMethod\', \'There are %s listboxes in form %s.\' % (len(listbox_id_list), form.id))\n
# ... but handle them anyway.\n # ... but handle them anyway.\n
for listbox_id in listbox_id_list:\n for listbox_id in listbox_id_list:\n
listbox_line_list = []\n listbox_line_list = []\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