mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
변수 중복 수정
This commit is contained in:
parent
6b326b8da6
commit
47ebe210e0
1 changed files with 2 additions and 2 deletions
|
|
@ -1067,7 +1067,7 @@ class documentItem extends Object
|
|||
|
||||
if($source_file)
|
||||
{
|
||||
$output = FileHandler::createImageFile($source_file, $thumbnail_file, $width, $height, 'jpg', $thumbnail_type);
|
||||
$output_file = FileHandler::createImageFile($source_file, $thumbnail_file, $width, $height, 'jpg', $thumbnail_type);
|
||||
}
|
||||
|
||||
// Remove source file if it was temporary
|
||||
|
|
@ -1080,7 +1080,7 @@ class documentItem extends Object
|
|||
FileHandler::removeFile($thumbnail_lockfile);
|
||||
|
||||
// Return the thumbnail path if it was successfully generated
|
||||
if($output)
|
||||
if($output_file)
|
||||
{
|
||||
return $thumbnail_url . '?' . date('YmdHis');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue