use array_map to stripslashes.

This commit is contained in:
Taylor Otwell
2012-01-24 09:12:56 -06:00
parent 4d87565f74
commit 02397c6732

View File

@@ -112,7 +112,7 @@ unset($input[Request::spoofer]);
if (function_exists('get_magic_quotes_gpc') and get_magic_quotes_gpc())
{
$input = stripslashes($input);
$input = array_map('stripslashes', $input);
}
Input::$input = $input;