Commit 61008551 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

remove duplicate calculation.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23806 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c6f26dd3
...@@ -687,7 +687,7 @@ class ProxyField(ZMIField): ...@@ -687,7 +687,7 @@ class ProxyField(ZMIField):
_field_value_cache[cache_id] = value _field_value_cache[cache_id] = value
if value is _USE_ORIGINAL_GET_VALUE_MARKER: if value is _USE_ORIGINAL_GET_VALUE_MARKER:
return self.getTemplateField().get_value(id, **kw) return proxy_field.get_value(id, **kw)
if callable(value): if callable(value):
return value(field, id, **kw) return value(field, id, **kw)
......
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