update getm_magic_quotes function checks
This commit is contained in:
@@ -86,7 +86,7 @@ class AddConfToFile
|
||||
|
||||
public function checkString($string)
|
||||
{
|
||||
if (get_magic_quotes_gpc()) {
|
||||
if (function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) {
|
||||
$string = stripslashes($string);
|
||||
}
|
||||
if (!is_numeric($string)) {
|
||||
|
||||
Reference in New Issue
Block a user