Somehow forgot UPLOAD_ERR_NO_FILE.
This commit is contained in:
parent
103ce47ba8
commit
753fd8c17b
1 changed files with 4 additions and 0 deletions
|
@ -248,6 +248,10 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
|||
case UPLOAD_ERR_OK:
|
||||
break;
|
||||
|
||||
case UPLOAD_ERR_NO_FILE:
|
||||
$settings_errors[] = 'Select a file before hitting upload!';
|
||||
break;
|
||||
|
||||
case UPLOAD_ERR_PARTIAL:
|
||||
$settings_errors[] = 'The upload was interrupted, please try again!';
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue