Fix editing media files in ACP
authorMatthias Schmidt <gravatronics@live.com>
Fri, 25 Dec 2015 09:58:02 +0000 (10:58 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 25 Dec 2015 09:58:02 +0000 (10:58 +0100)
wcfsetup/install/files/acp/templates/languageChooser.tpl

index 8e522e106b62b5fa9ee7cb689a903a8962546e7d..b22a59d60ba31d44bd9b774a0f0535a9cda847f3 100644 (file)
@@ -1,7 +1,7 @@
 {if !$label|isset}{assign var='label' value='wcf.user.language'}{/if}
 
 {if $languages|count}
-       <dl{if $errorField == 'languageID'} class="formError"{/if}>
+       <dl{if $errorField|isset && $errorField == 'languageID'} class="formError"{/if}>
                <dt>{lang}{$label}{/lang}</dt>
                <dd id="languageIDContainer">
                        <noscript>