Add comment about handling uploaded file

This commit is contained in:
Mike Colagrosso 2024-01-16 20:52:39 -07:00 committed by Alex Cabal
parent 31d927ce2b
commit 986411e684

View file

@ -745,6 +745,7 @@ class Artwork extends PropertiesBase{
', [$this->ArtworkId, $tag->TagId]);
}
// Handle the uploaded file if the user provided one during the save.
if(!empty($uploadedFile) && $uploadedFile['error'] == UPLOAD_ERR_OK){
$this->WriteImageAndThumbnails($uploadedFile['tmp_name']);
}