use array_map to stripslashes.
This commit is contained in:
parent
4d87565f74
commit
02397c6732
|
@ -112,7 +112,7 @@
|
||||||
|
|
||||||
if (function_exists('get_magic_quotes_gpc') and get_magic_quotes_gpc())
|
if (function_exists('get_magic_quotes_gpc') and get_magic_quotes_gpc())
|
||||||
{
|
{
|
||||||
$input = stripslashes($input);
|
$input = array_map('stripslashes', $input);
|
||||||
}
|
}
|
||||||
|
|
||||||
Input::$input = $input;
|
Input::$input = $input;
|
||||||
|
|
Loading…
Reference in New Issue