Index: trunk/core/units/general/cat_event_handler.php =================================================================== diff -u -N -r5119 -r5121 --- trunk/core/units/general/cat_event_handler.php (.../cat_event_handler.php) (revision 5119) +++ trunk/core/units/general/cat_event_handler.php (.../cat_event_handler.php) (revision 5121) @@ -533,7 +533,7 @@ LIMIT '.$last_hot.', 1'; $res = $this->Conn->GetCol($sql); $hot_limit = (double)array_shift($res); - $this->Conn->Query('REPLACE INTO '.TABLE_PREFIX.'Cache VALUES ("'.$property_map['HotLimit'].'", "'.$hot_limit.'", '.adodb_mktime().')'); + $this->Conn->Query('REPLACE INTO '.TABLE_PREFIX.'Cache (VarName, Data, Cached) VALUES ("'.$property_map['HotLimit'].'", "'.$hot_limit.'", '.adodb_mktime().')'); return $hot_limit; return 0;