Merge pull request #3024 from beardyunixer/develop

This error message had me confused for about twenty minutes.  I couldn't
This commit is contained in:
Tobias Diekershoff 2016-12-19 07:44:10 +01:00 committed by GitHub
commit 5a4c5ac8f7

View file

@ -548,11 +548,16 @@ function check_imagik(&$checks) {
$gif = true; $gif = true;
} }
} }
if ($imagick == false) {
check_add($checks, t('ImageMagick PHP extension is not installed'), $imagick, false, "");
}
else {
check_add($checks, t('ImageMagick PHP extension is installed'), $imagick, false, ""); check_add($checks, t('ImageMagick PHP extension is installed'), $imagick, false, "");
if ($imagick) { if ($imagick) {
check_add($checks, t('ImageMagick supports GIF'), $gif, false, ""); check_add($checks, t('ImageMagick supports GIF'), $gif, false, "");
} }
} }
}