Commit 0e6cd0e4 authored by Romain Courteaud's avatar Romain Courteaud

Bugfix


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2290 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d1ddb670
...@@ -264,7 +264,7 @@ class RelationStringFieldValidator(Validator.StringValidator): ...@@ -264,7 +264,7 @@ class RelationStringFieldValidator(Validator.StringValidator):
relation_setter_id = field.get_value('relation_setter_id') relation_setter_id = field.get_value('relation_setter_id')
if value == current_value: if value == current_value:
return RelationEditor(key, base_category, portal_type, None, return RelationEditor(key, base_category, portal_type, None,
portal_type_item, catalog_index, value, relation_setter_id, display_text) portal_type_item, catalog_index, value, relation_setter_id, None)
# Will be interpreted by Base_edit as "do nothing" # Will be interpreted by Base_edit as "do nothing"
if relation_uid not in (None, ''): if relation_uid not in (None, ''):
# A value has been defined by the user # A value has been defined by the user
......
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