From 54cd4d41f2c3a47ac6b891aa3a72d87349d4eb76 Mon Sep 17 00:00:00 2001 From: discomrade <83621080+discomrade@users.noreply.github.com> Date: Wed, 23 Jun 2021 12:40:27 +0000 Subject: [PATCH] Fix custom thumb_ext for ImageMagick convert Fixed breaking typo in previous commit --- inc/image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/image.php b/inc/image.php index 7f26a64a..a944fad9 100644 --- a/inc/image.php +++ b/inc/image.php @@ -311,7 +311,7 @@ class ImageConvert extends ImageBase { $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'];