Commit eaa24a6f authored by Romain Courteaud's avatar Romain Courteaud

Bug correction.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2177 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bed5bbba
...@@ -141,7 +141,8 @@ def initializePortalTypeDynamicProperties(self, klass, ptype, recursive=0): ...@@ -141,7 +141,8 @@ def initializePortalTypeDynamicProperties(self, klass, ptype, recursive=0):
else: else:
ps_list = getClassPropertyList(klass) ps_list = getClassPropertyList(klass)
for base in ps_list: for base in ps_list:
prop_list += base._properties if hasattr(base, '_properties'):
prop_list += base._properties
if hasattr(base, '_categories'): if hasattr(base, '_categories'):
if type(base._categories) in (type(()), type([])): if type(base._categories) in (type(()), type([])):
cat_list += base._categories cat_list += base._categories
......
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