We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 643cbb3 commit 42235c5Copy full SHA for 42235c5
src/controllers/UploadController.php
@@ -67,7 +67,7 @@ private function uploadValidator()
67
$is_valid = false;
68
69
$file = Input::file('upload');
70
- if (!$file) {
+ if (empty($file)) {
71
throw new \Exception(Lang::get('laravel-filemanager::lfm.error-file-empty'));
72
}
73
if (!$file instanceof UploadedFile) {
0 commit comments