From: Matthias Schmidt Date: Sun, 5 Jan 2014 21:19:44 +0000 (+0100) Subject: Fixes icon for custom valued language items X-Git-Tag: 2.0.2~31^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eac5a88a7424938d1acf78abfa1c912621046a5d;p=GitHub%2FWoltLab%2FWCF.git Fixes icon for custom valued language items If the custom value of a language item is empty, no icon has been displayed. --- diff --git a/wcfsetup/install/files/acp/templates/languageItemList.tpl b/wcfsetup/install/files/acp/templates/languageItemList.tpl index e481f07f31..18d13aeccd 100644 --- a/wcfsetup/install/files/acp/templates/languageItemList.tpl +++ b/wcfsetup/install/files/acp/templates/languageItemList.tpl @@ -92,7 +92,7 @@
-

{$item->languageItem}{if $item->languageCustomItemValue} {/if}

+

{$item->languageItem}{if !$item->languageCustomItemValue|is_null} {/if}

{if $item->languageUseCustomValue}{$item->languageCustomItemValue|truncate:255}{else}{$item->languageItemValue|truncate:255}{/if}