diff --git a/laravel/input.php b/laravel/input.php index 8c826588..64290167 100644 --- a/laravel/input.php +++ b/laravel/input.php @@ -181,7 +181,7 @@ public static function file($key = null, $default = null) */ public static function upload($key, $path) { - return array_key_exists($key, $_FILES) ? File::upload($key, $path, $_FILES) : false; + return File::upload($key, $path); } -} +} \ No newline at end of file