Commit cf5d3dcf authored by Jean-Paul Smets's avatar Jean-Paul Smets

new naming


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@186 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ec7a90e9
......@@ -86,10 +86,10 @@ class CategoryTool( CategoryTool ):
o = self.getCategoryValue(path, base_category=base_category)
if o is not None:
if base_category is None:
base_category_id = self.getBaseCategoryId(path)
base_category = self.getBaseCategoryId(path)
else:
base_category_id = base_category
bo = getattr(self, base_category_id, None)
base_category = base_category
bo = getattr(self, base_category, None)
if bo is not None:
bo_uid = int(bo.getUid())
uid_dict[(int(o.uid), bo_uid, 1)] = 1 # Strict membership
......
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