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:
commit
5a4c5ac8f7
1 changed files with 8 additions and 3 deletions
|
@ -548,9 +548,14 @@ function check_imagik(&$checks) {
|
||||||
$gif = true;
|
$gif = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
check_add($checks, t('ImageMagick PHP extension is installed'), $imagick, false, "");
|
if ($imagick == false) {
|
||||||
if ($imagick) {
|
check_add($checks, t('ImageMagick PHP extension is not installed'), $imagick, false, "");
|
||||||
check_add($checks, t('ImageMagick supports GIF'), $gif, false, "");
|
}
|
||||||
|
else {
|
||||||
|
check_add($checks, t('ImageMagick PHP extension is installed'), $imagick, false, "");
|
||||||
|
if ($imagick) {
|
||||||
|
check_add($checks, t('ImageMagick supports GIF'), $gif, false, "");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue