mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-09 22:26:10 +00:00
fix: prevent reuse of old attacks by re-POSTing same values
This commit is contained in:
@@ -5371,6 +5371,13 @@ References: User ID/Message ID, Mode
|
||||
return mysqli_insert_id($this->dblink);
|
||||
}
|
||||
|
||||
function remA2b($id) {
|
||||
$id = (int) $id;
|
||||
|
||||
$q = "DELETE FROM " . TB_PREFIX . "a2b WHERE id = $id";
|
||||
return mysqli_query($this->dblink,$q);
|
||||
}
|
||||
|
||||
// no need to cache this method
|
||||
function getA2b($ckey, $check) {
|
||||
list($ckey, $check) = $this->escape_input($ckey, $check);
|
||||
|
||||
Reference in New Issue
Block a user