Fix thumb_ext being ignored
This commit is contained in:
parent
507c70a0dc
commit
ceba6648aa
|
@ -312,7 +312,7 @@ class ImageConvert extends ImageBase {
|
|||
$this->destroy();
|
||||
}
|
||||
|
||||
$this->temp = tempnam($config['tmp'], 'convert');
|
||||
$this->temp = tempnam($config['tmp'], 'convert') . ($config['thumb_ext'] == '' ? '' : '.' . $config['thumb_ext']);
|
||||
|
||||
$config['thumb_keep_animation_frames'] = (int)$config['thumb_keep_animation_frames'];
|
||||
|
||||
|
|
Loading…
Reference in New Issue