Commit a41f3d20 authored by Aurel's avatar Aurel

typo fix


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15981 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 51d54c77
......@@ -550,7 +550,7 @@ class SelectionTool( BaseTool, UniqueObject, SimpleItem ):
if selection:
method = self.unrestrictedTraverse(selection.method_path)
selection_list = selection(method = method, context=self, REQUEST=REQUEST)
if len(selectionlist):
if len(selection_list):
o = selection_list[(int(selection_index) + 1) % len(selection_list)]
url = o.absolute_url()
else:
......
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