diff --git a/laravel/input.php b/laravel/input.php index d9de36cb..84424570 100644 --- a/laravel/input.php +++ b/laravel/input.php @@ -40,6 +40,8 @@ class Input { */ public static function has($key) { + if (is_array(static::get($key))) return true; + return trim((string) static::get($key)) !== ''; }