From 3ec2d6f962c617af33b0e95e22eb414312e3ffb6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 5 Nov 2009 19:37:44 +0000 Subject: [PATCH] Should bypass some fast webpage troubles --- inc/stats-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/stats-functions.php b/inc/stats-functions.php index 598ca9b5a4..baa0b130b1 100644 --- a/inc/stats-functions.php +++ b/inc/stats-functions.php @@ -146,7 +146,7 @@ function writeStatsTable () { array(date('Ymd', time())), __FUNCTION__, __LINE__); // Begin the SQL command - $sql = sprintf("INSERT INTO `{?_MYSQL_PREFIX?}_stats_%s` (`stats_entry`,`stats_value`) VALUES ", + $sql = sprintf("REPLACE INTO `{?_MYSQL_PREFIX?}_stats_%s` (`stats_entry`,`stats_value`) VALUES ", date('Ymd', time())); // Add all entries to the final query -- 2.39.5