From 02397c67329f22a7c09d743a7a13f0b7a101ef33 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 24 Jan 2012 09:12:56 -0600 Subject: [PATCH] use array_map to stripslashes. --- laravel/laravel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/laravel.php b/laravel/laravel.php index a27d9c00..e5705fb4 100644 --- a/laravel/laravel.php +++ b/laravel/laravel.php @@ -112,7 +112,7 @@ if (function_exists('get_magic_quotes_gpc') and get_magic_quotes_gpc()) { - $input = stripslashes($input); + $input = array_map('stripslashes', $input); } Input::$input = $input;