diff --git a/product/ZSQLCatalog/SQLCatalog.py b/product/ZSQLCatalog/SQLCatalog.py index 2dfa036e64489321316d4a51eb424d36f342ec71..d3d6ecc3e63c009d0b17707dfde8bee73612874d 100644 --- a/product/ZSQLCatalog/SQLCatalog.py +++ b/product/ZSQLCatalog/SQLCatalog.py @@ -1605,7 +1605,7 @@ class Catalog(Folder, 'idxs is ignored in this function and is only provided to be compatible with CMFCatalogAware.reindexObject.') if not self.isIndexable(): - return None + return portal_catalog = self.getSiteRoot().portal_catalog # XXX-JPS - This is a hardcoded name. Weird # Isn't self == self.getSiteRoot().portal_catalog