Index: trunk/core/units/general/cat_event_handler.php =================================================================== diff -u -N -r5162 -r5177 --- trunk/core/units/general/cat_event_handler.php (.../cat_event_handler.php) (revision 5162) +++ trunk/core/units/general/cat_event_handler.php (.../cat_event_handler.php) (revision 5177) @@ -504,7 +504,7 @@ // hot items $sql = 'SELECT Data FROM '.TABLE_PREFIX.'Cache - WHERE VarName = "'.$property_map['HotLimit'].'"'; + WHERE (VarName = "'.$property_map['HotLimit'].'") AND ('.adodb_mktime().' - Cached < 3600)'; $hot_limit = $this->Conn->GetOne($sql); if ($hot_limit === false) { $hot_limit = $this->CalculateHotLimit($event);