Commit dd5ffa73 authored by Julien Muchembled's avatar Julien Muchembled

CategoryTool.getAcquiredCategoryList: do not duplicate loopback value on categories

parent 20a82576
......@@ -1190,8 +1190,6 @@ class CategoryTool( UniqueObject, Folder, Base ):
# Make sure all local categories are considered
if c not in result:
append(c)
if getattr(context, 'isCategory', 0):
append(context.getRelativeUrl()) # Pure category is member of itself
return result
# Catalog related methods
......
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