mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Change logic for checking for ImageMagick
This commit is contained in:
parent
3bc086ebd5
commit
fcaa859ee5
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user