use array_map to stripslashes.

This commit is contained in:
Taylor Otwell 2012-01-24 09:12:56 -06:00
parent 4d87565f74
commit 02397c6732
1 changed files with 1 additions and 1 deletions

View File

@ -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;