Fix custom thumb_ext for ImageMagick convert

Fixed breaking typo in previous commit
This commit is contained in:
discomrade
2021-06-23 12:40:27 +00:00
committed by GitHub
parent a752a3930c
commit 54cd4d41f2

View File

@@ -311,7 +311,7 @@ class ImageConvert extends ImageBase {
$this->destroy(); $this->destroy();
} }
$this->temp = tempnam($config['tmp'], 'convert') . ($config['thumb_ext'] == '' ? '.' . $config['thumb_ext'] : ''); $this->temp = tempnam($config['tmp'], 'convert') . ($config['thumb_ext'] == '' ? '' : '.' . $config['thumb_ext']);
$config['thumb_keep_animation_frames'] = (int)$config['thumb_keep_animation_frames']; $config['thumb_keep_animation_frames'] = (int)$config['thumb_keep_animation_frames'];