Commit cc2220f6 authored by Romain Courteaud's avatar Romain Courteaud

Do not save useless information in the REQUEST.

This also prevent to save None as REQUEST's key.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16705 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 51b9fc1d
......@@ -378,8 +378,6 @@ class MultiRelationEditor:
relation_field_id = relation_key
relation_item_id = item_key
REQUEST.set(relation_item_id, ((display_text, uid),))
# XXX Is it useful ?
REQUEST.set(relation_field_id, uid)
REQUEST.set(self.field_id, value_list) # XXX Dirty
else:
# Make sure no default value appears
......
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