fix api_stats
This commit is contained in:
parent
e2a4b519b5
commit
ae8f96c43a
@ -15,7 +15,7 @@
|
|||||||
{
|
{
|
||||||
Database::connect();
|
Database::connect();
|
||||||
|
|
||||||
Database::sql_exec_prep('INSERT INTO an_statslog (ClientID, Version, ProviderStr, ProviderID, NoteCount) VALUES (:cid, :ver, :prv, :pid, :tnc) ON DUPLICATE KEY UPDATE Version=:v,ProviderStr=:pstr,ProviderID=:pid,NoteCount=:nc',
|
Database::sql_exec_prep('INSERT INTO an_statslog (ClientID, Version, ProviderStr, ProviderID, NoteCount) VALUES (:cid, :ver, :prv, :pid, :tnc) ON DUPLICATE KEY UPDATE Version=:ver,ProviderStr=:prv,ProviderID=:pid,NoteCount=:tnc',
|
||||||
[
|
[
|
||||||
[':cid', $cid, PDO::PARAM_STR],
|
[':cid', $cid, PDO::PARAM_STR],
|
||||||
[':ver', $ver, PDO::PARAM_STR],
|
[':ver', $ver, PDO::PARAM_STR],
|
||||||
|
Loading…
Reference in New Issue
Block a user