diff --git a/Repositories/statistics/includes/inc.class.mysql.es.php b/Repositories/statistics/includes/inc.class.mysql.es.php index 0386324..72ffefa 100755 --- a/Repositories/statistics/includes/inc.class.mysql.es.php +++ b/Repositories/statistics/includes/inc.class.mysql.es.php @@ -457,8 +457,12 @@ // Note that the archive name is irrelevant for this, // as the stats are updated for ALL archives at the // same time. + // + // NJS 2007-02-27: Changed from timeinsert to lastproc. + // Missed this when fixing earlier bugs! Fortunately it + // only affects display, not internal processing. $query = " - SELECT timeinsert + SELECT lastproc FROM lastproc ORDER BY id DESC LIMIT 1 @@ -469,7 +473,7 @@ return; } else { $row = mysql_fetch_assoc($result); - return $row["timeinsert"]; + return $row["lastproc"]; } }