mirror of
https://github.com/standardebooks/web.git
synced 2025-07-13 01:52:02 -04:00
Add comment about handling uploaded file
This commit is contained in:
parent
31d927ce2b
commit
986411e684
1 changed files with 1 additions and 0 deletions
|
@ -745,6 +745,7 @@ class Artwork extends PropertiesBase{
|
||||||
', [$this->ArtworkId, $tag->TagId]);
|
', [$this->ArtworkId, $tag->TagId]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Handle the uploaded file if the user provided one during the save.
|
||||||
if(!empty($uploadedFile) && $uploadedFile['error'] == UPLOAD_ERR_OK){
|
if(!empty($uploadedFile) && $uploadedFile['error'] == UPLOAD_ERR_OK){
|
||||||
$this->WriteImageAndThumbnails($uploadedFile['tmp_name']);
|
$this->WriteImageAndThumbnails($uploadedFile['tmp_name']);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue