From 6ab1200fd56ec643773303b244be7b68e39a71e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Sessing=C3=B8?= Date: Fri, 22 Apr 2016 14:29:21 +0200 Subject: [PATCH] - Return $item if it's an array in get method in Input class. --- src/Pecee/Http/Input/Input.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pecee/Http/Input/Input.php b/src/Pecee/Http/Input/Input.php index 689b9d0..688de6a 100644 --- a/src/Pecee/Http/Input/Input.php +++ b/src/Pecee/Http/Input/Input.php @@ -87,7 +87,7 @@ class Input { if($item !== null) { - if($item instanceof InputFile) { + if(is_array($item) || $item instanceof InputFile) { return $item; }