Fix all PHP 8 deprecated/removed function usage across the repository
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/209fe796-9a38-47c1-a6b7-992ce11d038b Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
73319ffeed
commit
c0bd0a0bb5
30 changed files with 198 additions and 471 deletions
|
|
@ -41,9 +41,6 @@ function exec_ogp_module()
|
|||
//Function to sanitize values received from the form. Prevents SQL injection
|
||||
function clean($str) {
|
||||
$str = @trim($str);
|
||||
if(get_magic_quotes_gpc()) {
|
||||
$str = stripslashes($str);
|
||||
}
|
||||
return $str;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue