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

XXX ParallelListField

parent 23f5fa7e
......@@ -229,7 +229,7 @@ class ParallelListField(ZMIField):
def generateSubForm(self, value, REQUEST):
item_list = [x for x in self.get_value('items', REQUEST=REQUEST)
if x[0] != '' and x[1]]
if x[0] != '' and x[1] != '']
value_list = value
if not isinstance(value_list, (list, tuple)):
......
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