diff --git a/product/ZSQLCatalog/dtml/catalogHotReindexing.dtml b/product/ZSQLCatalog/dtml/catalogHotReindexing.dtml
index 85100bb46bcb37ccdf151681ed62021e4c2d6a35..3b4bc52306417f591689e6958ca0c3f26cda9df8 100755
--- a/product/ZSQLCatalog/dtml/catalogHotReindexing.dtml
+++ b/product/ZSQLCatalog/dtml/catalogHotReindexing.dtml
@@ -7,7 +7,7 @@ Hot Reindexing allows you to recreate a new SQL Catalog without stopping your sy
 This requires at least two SQL Catalogs.
 </p>
 
-<dtml-if portal_activities>
+<dtml-if "_.hasattr(getPortalObject(), 'portal_activities')">
 <p class="form-help">
 Note that hot reindexing might not be finished even when you get a successful response,
 because portal_activities delays the real operations. You can check the real state in properties.