mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 01:22:23 -04:00
Fix broken array reference
This commit is contained in:
parent
ce8d5abe32
commit
6d3d8dc9f9
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ try{
|
||||||
}
|
}
|
||||||
|
|
||||||
// Confirm that the files came from POST
|
// Confirm that the files came from POST
|
||||||
if(!is_uploaded_file($_FILES['artwork-image'])){
|
if(!is_uploaded_file($_FILES['artwork-image']['tmp_name'])){
|
||||||
throw new Exceptions\InvalidImageUploadException();
|
throw new Exceptions\InvalidImageUploadException();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue