Browse Source

add stats

andre 4 years ago
parent
commit
2d63e47cd2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      stats.php

+ 1 - 1
stats.php

@@ -7,7 +7,7 @@ class stats {
     }
 
     public function log($ip,$action,$token) {
-        $dbAction = $this->db->prepare("INSERT IGNORE INTO stats ('ip','action','token') VALUES (?,?,?)");
+        $dbAction = $this->db->prepare("INSERT IGNORE INTO stats (ip,action,token) VALUES (?,?,?)");
         $dbAction->bind_param('iss',$ip,$action,$token);
         return $dbAction->execute();
     }