Commit a3d424e9 authored by Julien Muchembled's avatar Julien Muchembled

Fix typo in ListBox validation code

This fixes a regression introduced in
commit f36260d2
("Code clean up in ListBox & EditorField").
parent b2bc1d39
......@@ -2870,7 +2870,7 @@ class ListBoxValidator(Validator.Validator):
if o.getUid() == int(uid):
break
except ValueError:
if str(object.getUid()) == uid:
if str(o.getUid()) == uid:
break
else:
raise err
......
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