]> git.mxchange.org Git - mailer.git/commitdiff
Should bypass some fast webpage troubles
authorRoland Häder <roland@mxchange.org>
Thu, 5 Nov 2009 19:37:44 +0000 (19:37 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 5 Nov 2009 19:37:44 +0000 (19:37 +0000)
inc/stats-functions.php

index 598ca9b5a4e23a510db68224606e8e824de14faa..baa0b130b1f0f24714685c12fa1bc650fba7308a 100644 (file)
@@ -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