1
0

fix api_stats

This commit is contained in:
Mike Schwörer 2018-02-04 00:36:30 +01:00
parent e2a4b519b5
commit ae8f96c43a
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF

View File

@ -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],