Browse Source

Use array_merge_recursive in input class.

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

+ 1 - 1
laravel/input.php

@@ -16,7 +16,7 @@ class Input {
 	 */
 	public static function all()
 	{
-		$input = array_merge(static::get(), static::query(), static::file());
+		$input = array_merge_recursive(static::get(), static::query(), static::file());
 
 		unset($input[Request::spoofer]);