diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2008-11-29 12:11:25 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2008-11-29 12:11:25 +0100 |
commit | d8084dadad51cdde9325505badff30c3ad1388bc (patch) | |
tree | 72281df49b69d2e9b943256572736fd3b26866ac | |
parent | 354f4761316e2f62600fedf51149e41bde6557d9 (diff) |
We were testing the wrong variable name for mysql update..
-rw-r--r-- | Badges.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -294,7 +294,7 @@ function make_db_cache($username){ } } - if ($playcount != 0) + if ($data['playcount'] != 0) { $QUERY=(sprintf("REPLACE INTO users (statsstart,playcount,lastupdate,username) VALUES ('%s',%s,'%s','%s');", time(), $data['playcount'], gpc_addslashes($data['statsstart']), gpc_addslashes(strtolower($username)))); |