diff --git a/src/Pecee/Http/Input/Input.php b/src/Pecee/Http/Input/Input.php index 810bb6c..db8ce21 100644 --- a/src/Pecee/Http/Input/Input.php +++ b/src/Pecee/Http/Input/Input.php @@ -188,7 +188,7 @@ class Input return $item; } - return (!is_array($item->getValue()) && trim($item->getValue()) === '') ? $default : $item->getValue(); + return (!is_array($item->getValue()) && trim($item->getValue()) === '') ? $default : $item; } return $default;