diff options
-rw-r--r-- | admin/include/image.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/image.class.php b/admin/include/image.class.php index 43eaaea4a..5586c021c 100644 --- a/admin/include/image.class.php +++ b/admin/include/image.class.php @@ -260,7 +260,7 @@ class pwg_image static function is_imagick() { - return extension_loaded('imagick'); + return (extension_loaded('imagick') and class_exists('Imagick')); } static function is_ext_imagick() |