From: Matthias Schmidt Date: Tue, 6 Aug 2013 08:35:19 +0000 (+0200) Subject: Fixes error message for missing user rank CSS class names X-Git-Tag: 2.0.0_Beta_7~62^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6267ac0f6a0bbecf56f66fc68367a9a19bf43456;p=GitHub%2FWoltLab%2FWCF.git Fixes error message for missing user rank CSS class names --- diff --git a/wcfsetup/install/files/acp/templates/userRankAdd.tpl b/wcfsetup/install/files/acp/templates/userRankAdd.tpl index 78225f06ce..0a8873f468 100644 --- a/wcfsetup/install/files/acp/templates/userRankAdd.tpl +++ b/wcfsetup/install/files/acp/templates/userRankAdd.tpl @@ -61,7 +61,11 @@ {if $errorField == 'cssClassName'} - {lang}wcf.acp.user.rank.cssClassName.error.{@$errorType}{/lang} + {if $errorType == 'empty'} + {lang}wcf.global.form.error.empty{/lang} + {else} + {lang}wcf.acp.user.rank.cssClassName.error.{@$errorType}{/lang} + {/if} {/if} {lang}wcf.acp.user.rank.cssClassName.description{/lang}