From 1c26ce8ce56f524e70c8e4b44b5d7ad7aca9e378 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 4 Apr 2012 11:37:46 -0500 Subject: [PATCH] Fix bug in input class. Signed-off-by: Taylor Otwell --- laravel/input.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/input.php b/laravel/input.php index 1643a7a0..863732d7 100644 --- a/laravel/input.php +++ b/laravel/input.php @@ -55,7 +55,7 @@ public static function has($key) */ public static function get($key = null, $default = null) { - $value = Request::foundation()->request->get($key); + $value = array_get(Request::foundation()->request->all(), $key); if (is_null($value)) {