Commit 5ecf2d1b authored by Yoshinori Okuji's avatar Yoshinori Okuji

Use getBaseCategoryList instead of getBaseCategoryIds.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@620 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 115659f3
...@@ -124,7 +124,7 @@ class Variated(Base): ...@@ -124,7 +124,7 @@ class Variated(Base):
if resource is not None: if resource is not None:
result = resource.getVariationBaseCategoryList() result = resource.getVariationBaseCategoryList()
else: else:
result = self.portal_categories.getBaseCategoryIds() result = self.portal_categories.getBaseCategoryList()
return result return result
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
......
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