Fix false-positive replacements from compatibility sweep
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/89922108-1604-44ae-949d-358d32b9d70a Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
6c0ca40e09
commit
97010974d7
7 changed files with 10 additions and 11 deletions
|
|
@ -289,7 +289,7 @@ class OGPDatabaseMySQL extends OGPDatabase
|
|||
return $results;
|
||||
}
|
||||
|
||||
public function get_user_count((array)$search_field) {
|
||||
public function get_user_count($search_field) {
|
||||
$search_field = $this->realEscapeSingle($search_field);
|
||||
|
||||
$sql = "SELECT COUNT(1) AS total FROM ".$this->table_prefix."users ";
|
||||
|
|
@ -310,7 +310,7 @@ class OGPDatabaseMySQL extends OGPDatabase
|
|||
return $this->listQuery($query);
|
||||
}
|
||||
|
||||
public function get_group_count((array)$search_field){
|
||||
public function get_group_count($search_field){
|
||||
$search_field = $this->realEscapeSingle($search_field);
|
||||
|
||||
$sql = "SELECT COUNT(1) AS total FROM ".$this->table_prefix."user_group_info ";
|
||||
|
|
@ -3392,7 +3392,7 @@ class OGPDatabaseMySQL extends OGPDatabase
|
|||
$this->query("INSERT INTO OGP_DB_PREFIXlogger (date, user_id, ip, message) VALUE (FROM_UNIXTIME(UNIX_TIMESTAMP(), '%d-%m-%Y %H:%i:%s'), $user_id, '$client_ip', '$message');");
|
||||
}
|
||||
|
||||
public function get_logger_count((array)$search_field) {
|
||||
public function get_logger_count($search_field) {
|
||||
$search_field = $this->realEscapeSingle($search_field);
|
||||
|
||||
$sql = "SELECT COUNT(1) AS total FROM ".$this->table_prefix."logger ";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue