mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 12:24:35 -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();
|
$image = $this->getFile();
|
||||||
$catch_image = $image;
|
$catch_image = $image;
|
||||||
|
|
||||||
if(extension_loaded('imagick'))
|
if(!extension_loaded('imagick'))
|
||||||
return $catch_image;
|
return $catch_image;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user