Fixes error message for missing user rank CSS class names
authorMatthias Schmidt <gravatronics@live.com>
Tue, 6 Aug 2013 08:35:19 +0000 (10:35 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Tue, 6 Aug 2013 08:35:19 +0000 (10:35 +0200)
wcfsetup/install/files/acp/templates/userRankAdd.tpl

index 78225f06cee24a7f2204112fe7a81ea166858837..0a8873f468e66ea3404dbdc21fefffc8b58f44cd 100644 (file)
                                        
                                        {if $errorField == 'cssClassName'}
                                                <small class="innerError">
-                                                       {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}
                                                </small>
                                        {/if}
                                        <small>{lang}wcf.acp.user.rank.cssClassName.description{/lang}</small>