From eac5a88a7424938d1acf78abfa1c912621046a5d Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 5 Jan 2014 22:19:44 +0100 Subject: [PATCH] Fixes icon for custom valued language items If the custom value of a language item is empty, no icon has been displayed. --- wcfsetup/install/files/acp/templates/languageItemList.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}

-- 2.20.1