diff --git a/product/ERP5Catalog/CatalogTool.py b/product/ERP5Catalog/CatalogTool.py index f115c50b25a3fb80b4fda1e6e2d2b804a59e17a4..11a483abc3639a5d98ab87399ce9176299c79589 100644 --- a/product/ERP5Catalog/CatalogTool.py +++ b/product/ERP5Catalog/CatalogTool.py @@ -129,7 +129,7 @@ class IndexableObjectWrapper(object): # support special case - reindex person for first time, when # it is not returned yet by getUserById, as it is not available # yet in catalog - or (self.getPortalType()=='Person' and + or (self.getPortalType() == 'Person' and self.getReference() == user)): # If role is monovalued, check if key is a user. # If not, continue to index it in roles_and_users table.