Change logic for checking for ImageMagick

This commit is contained in:
David Bomba 2023-11-12 22:04:53 +11:00
parent 3bc086ebd5
commit fcaa859ee5

View File

@ -211,7 +211,7 @@ class Document extends BaseModel
$image = $this->getFile();
$catch_image = $image;
if(extension_loaded('imagick'))
if(!extension_loaded('imagick'))
return $catch_image;
try {