Browse Source

Fix bug in input class.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
Taylor Otwell 12 years ago
parent
commit
1c26ce8ce5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/input.php

+ 1 - 1
laravel/input.php

@@ -55,7 +55,7 @@ class Input {
 	 */
 	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))
 		{