mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Fix undefined variable in getThumbnail()
This commit is contained in:
parent
c4e1625afa
commit
d02ea160c1
2 changed files with 10 additions and 2 deletions
|
|
@ -1268,6 +1268,10 @@ class DocumentItem extends BaseObject
|
|||
{
|
||||
$output_file = FileHandler::createImageFile($source_file, $thumbnail_file, $trigger_obj->width, $trigger_obj->height, $trigger_obj->image_type, $trigger_obj->type, $trigger_obj->quality);
|
||||
}
|
||||
else
|
||||
{
|
||||
$output_file = false;
|
||||
}
|
||||
|
||||
// Remove source file if it was temporary
|
||||
if($is_tmp_file)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue