Commit 773394a1 authored by Romain Courteaud's avatar Romain Courteaud

Do not forget to pass the REQUEST to the parent method.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12900 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6013697f
...@@ -785,5 +785,5 @@ class MultiRelationStringField(ZMIField): ...@@ -785,5 +785,5 @@ class MultiRelationStringField(ZMIField):
# relation_item_list is not editable for the RelationField # relation_item_list is not editable for the RelationField
result = REQUEST.get('relation_item_list', None) result = REQUEST.get('relation_item_list', None)
else: else:
result = ZMIField.get_value(self, id, **kw) result = ZMIField.get_value(self, id, REQUEST=REQUEST, **kw)
return result return result
...@@ -176,5 +176,5 @@ class RelationStringField(ZMIField): ...@@ -176,5 +176,5 @@ class RelationStringField(ZMIField):
# relation_item_list is not editable for the RelationField # relation_item_list is not editable for the RelationField
result = REQUEST.get('relation_item_list', None) result = REQUEST.get('relation_item_list', None)
else: else:
result = ZMIField.get_value(self, id, **kw) result = ZMIField.get_value(self, id, REQUEST=REQUEST, **kw)
return result return result
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