|
|
@@ -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();
|
|
|
}
|