From 9b8dc785bd6f9bc6f308c5a8d6991cd5eb01f146 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 15 Apr 2013 20:48:32 +0200 Subject: [PATCH] Fixed broken imagick thumbnail generator --- .../lib/system/image/adapter/ImagickImageAdapter.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/image/adapter/ImagickImageAdapter.class.php b/wcfsetup/install/files/lib/system/image/adapter/ImagickImageAdapter.class.php index 4a9734da9b..f9700599a6 100644 --- a/wcfsetup/install/files/lib/system/image/adapter/ImagickImageAdapter.class.php +++ b/wcfsetup/install/files/lib/system/image/adapter/ImagickImageAdapter.class.php @@ -83,7 +83,7 @@ class ImagickImageAdapter implements IImageAdapter { */ public function createThumbnail($maxWidth, $maxHeight, $obtainDimensions = true) { /* todo: obtainDimensions=false doesn't work */ - $thumbnail = $this->imagick; + $thumbnail = clone $this->imagick; $thumbnail->cropThumbnailImage($maxWidth, $maxHeight); return $thumbnail; -- 2.20.1