From 5599aa0e5865a3327658fa07497d253929124238 Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Tue, 4 May 2004 08:29:09 +0000
Subject: [PATCH] bugfix

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@814 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/CMFCategory/CategoryTool.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/CMFCategory/CategoryTool.py b/product/CMFCategory/CategoryTool.py
index b474f5b0b0..10417d1673 100755
--- a/product/CMFCategory/CategoryTool.py
+++ b/product/CMFCategory/CategoryTool.py
@@ -756,7 +756,7 @@ class CategoryTool( UniqueObject, Folder, Base ):
       if acquired_object_dict is None:
         acquired_object_dict = {}
       else:
-        context_key = (context.getPhysicalPath(), base_category, tuple(portal_type)) # Prevents recursion in category acquisition
+        context_key = (tuple(context.getPhysicalPath()), base_category, tuple(spec)) # Prevents recursion in category acquisition
         if context_key in acquired_object_dict:
           # Stop recursion if this object if already used
           return []
-- 
2.30.9