Commit 02397c67 authored by Taylor Otwell's avatar Taylor Otwell

use array_map to stripslashes.

parent 4d87565f
...@@ -112,7 +112,7 @@ unset($input[Request::spoofer]); ...@@ -112,7 +112,7 @@ unset($input[Request::spoofer]);
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment