mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Fix for warnings/notices/deprecated messages on PHP 7.4
This commit is contained in:
@@ -10,20 +10,6 @@
|
||||
*/
|
||||
|
||||
// work around magic quotes
|
||||
if (get_magic_quotes_gpc())
|
||||
{
|
||||
function stripslashes_deep($value)
|
||||
{
|
||||
$value = is_array($value) ?
|
||||
array_map('stripslashes_deep', $value) :
|
||||
stripslashes($value);
|
||||
|
||||
return $value;
|
||||
}
|
||||
$_GET = array_map('stripslashes_deep', $_GET);
|
||||
}
|
||||
|
||||
|
||||
if ( isset( $_GET['usepost'] ) && $_GET['usepost'] === 'true' )
|
||||
{
|
||||
$_GET = $_POST;
|
||||
@@ -132,4 +118,4 @@
|
||||
{
|
||||
return true;
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user