N°2329 PHP 7.4 compat : remove deprecated get_magic_quotes_gpc() function call

This commit is contained in:
Pierre Goiffon
2019-12-02 13:47:44 +01:00
parent 928b82a9c8
commit bf9f43da8b

View File

@@ -576,11 +576,6 @@ class CMDBSource
return $aRes;
}
// Stripslashes
if (get_magic_quotes_gpc())
{
$value = stripslashes($value);
}
// Quote if not a number or a numeric string
if ($bAlways || is_string($value))
{