From: mutec Date: Sat, 5 Jan 2019 13:46:31 +0000 (+0100) Subject: fix fatal error when ImageMagick is not found during installation X-Git-Tag: 5.2.0_Alpha_1~372^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2500e2240f4852c5437774d2b10f808f050c3ba7;p=GitHub%2FWoltLab%2FWCF.git fix fatal error when ImageMagick is not found during installation trying to show the found version fails since the version get's assigned only in case the extension was found --- diff --git a/wcfsetup/setup/template/stepShowSystemRequirements.tpl b/wcfsetup/setup/template/stepShowSystemRequirements.tpl index 05609e746e..3463496c6c 100644 --- a/wcfsetup/setup/template/stepShowSystemRequirements.tpl +++ b/wcfsetup/setup/template/stepShowSystemRequirements.tpl @@ -140,7 +140,7 @@
{lang}wcf.global.systemRequirements.element.yours{/lang}
- {$system.imagick.value} + {if !$system.imagick.result}{lang}wcf.global.systemRequirements.notActive{/lang}{else}{$system.imagick.value}{/if} {if !$system.imagick.result}{lang}wcf.global.systemRequirements.imagick.description{/lang}{/if}