Commit 3b1cad1e authored by Sebastien Robin's avatar Sebastien Robin

I need to use 2 listboxes in the same page, I fix here one error

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4300 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 589fedb9
No related merge requests found
......@@ -909,6 +909,8 @@ class ListBoxWidget(Widget.Widget):
start = int(start)
except (TypeError, KeyError):
start = params.get('list_start',0)
if type(start) is type([]):
start = start[0]
start = int(start)
start = max(start, 0)
......
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