Commit 777c5e6c authored by Tomáš Peterka's avatar Tomáš Peterka Committed by Tomáš Peterka

[ERP5Form] Pass request to fields

parent 77c2778a
......@@ -391,7 +391,7 @@ def get_value(self, id, REQUEST=None, **kw):
field_value_cache[cache_id] = value
if callable(value):
return value(field, id, **kw)
return value(field, id, REQUEST=REQUEST, **kw)
return value
psyco.bind(get_value)
......
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