Commit 2a5afde5 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fix a mistake that may cause recording single property as a list or vice-versa.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31455 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 05360823
...@@ -70,7 +70,7 @@ class PropertyRecordableMixin: ...@@ -70,7 +70,7 @@ class PropertyRecordableMixin:
else: # should be local property else: # should be local property
value = self.getProperty(id) value = self.getProperty(id)
else: else:
if x['type'] in list_types: if property_info['type'] in list_types:
value = self.getPropertyList(id) value = self.getPropertyList(id)
else: else:
value = self.getProperty(id) value = self.getProperty(id)
......
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