mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
fix: statistics are counting again
This commit is contained in:
@@ -1568,14 +1568,14 @@ class MYSQLi_DB {
|
||||
}
|
||||
|
||||
function modifyPoints($aid, $points, $amt) {
|
||||
list($aid, $points, $amt) = $this->escape_input((int) $aid, (int) $points, (int) $amt);
|
||||
list($aid, $points, $amt) = $this->escape_input((int) $aid, $points, (int) $amt);
|
||||
|
||||
$q = "UPDATE " . TB_PREFIX . "users set $points = $points + $amt where id = $aid";
|
||||
return mysqli_query($this->dblink,$q);
|
||||
}
|
||||
|
||||
function modifyPointsAlly($aid, $points, $amt) {
|
||||
list($aid, $points, $amt) = $this->escape_input((int) $aid, (int) $points, (int) $amt);
|
||||
list($aid, $points, $amt) = $this->escape_input((int) $aid, $points, (int) $amt);
|
||||
|
||||
$q = "UPDATE " . TB_PREFIX . "alidata set $points = $points + $amt where id = $aid";
|
||||
return mysqli_query($this->dblink,$q);
|
||||
|
||||
Reference in New Issue
Block a user