Fix broken array reference

This commit is contained in:
Alex Cabal 2024-01-12 11:52:22 -06:00
parent ce8d5abe32
commit 6d3d8dc9f9

View file

@ -54,7 +54,7 @@ try{
}
// 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();
}