From b569cb3aeea4532659a588e638b2673ad548b077 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Thu, 3 Jul 2025 10:28:11 -0500 Subject: [PATCH] Fix logic when saving an Artwork that has a new image --- lib/Artwork.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Artwork.php b/lib/Artwork.php index 1edfe551..bfc225e2 100644 --- a/lib/Artwork.php +++ b/lib/Artwork.php @@ -503,7 +503,7 @@ final class Artwork{ // No duplicates found, continue. } - if($isImageRequired){ + if($isImageRequired || $imagePath !== null){ if($imagePath === null){ $error->Add(new Exceptions\InvalidImageUploadException('An image is required.')); }