projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
735545e
)
Should bypass some fast webpage troubles
author
Roland Häder
<roland@mxchange.org>
Thu, 5 Nov 2009 19:37:44 +0000
(19:37 +0000)
committer
Roland Häder
<roland@mxchange.org>
Thu, 5 Nov 2009 19:37:44 +0000
(19:37 +0000)
inc/stats-functions.php
patch
|
blob
|
history
diff --git
a/inc/stats-functions.php
b/inc/stats-functions.php
index 598ca9b5a4e23a510db68224606e8e824de14faa..baa0b130b1f0f24714685c12fa1bc650fba7308a 100644
(file)
--- 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