From 6d3d8dc9f9e93b52c76d115d983f00224d616757 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Fri, 12 Jan 2024 11:52:22 -0600 Subject: [PATCH] Fix broken array reference --- www/artworks/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/artworks/post.php b/www/artworks/post.php index 6cdec90a..68b9db96 100644 --- a/www/artworks/post.php +++ b/www/artworks/post.php @@ -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(); }