From 6267ac0f6a0bbecf56f66fc68367a9a19bf43456 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Tue, 6 Aug 2013 10:35:19 +0200 Subject: [PATCH] Fixes error message for missing user rank CSS class names --- wcfsetup/install/files/acp/templates/userRankAdd.tpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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} -- 2.20.1