Commit 8a37bb0d authored by Nicolas Dumazet's avatar Nicolas Dumazet

bugfix


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32823 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f9a89090
...@@ -470,7 +470,7 @@ class XMLMatrix(Folder): ...@@ -470,7 +470,7 @@ class XMLMatrix(Folder):
if portal_type is None: if portal_type is None:
for x in self.allowedContentTypes(): for x in self.allowedContentTypes():
portal_type_id = x.getId() portal_type_id = x.getId()
if id.endswith(' Cell'): if portal_type_id.endswith(' Cell'):
portal_type = portal_type_id portal_type = portal_type_id
break break
......
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