Fix username errors in comment guest dialog
authorMatthias Schmidt <gravatronics@live.com>
Mon, 21 Jul 2014 14:50:20 +0000 (16:50 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 21 Jul 2014 14:50:20 +0000 (16:50 +0200)
com.woltlab.wcf/templates/commentAddGuestDialog.tpl

index 1f758870f1b06de0b7644dd8e390ae84d0e7a491..8fe7e4d71ad9b72652fe54ab94a5f8807d93f770 100644 (file)
@@ -9,7 +9,7 @@
                                                {if $errorType[username] == 'empty'}
                                                        {lang}wcf.global.form.error.empty{/lang}
                                                {else}
-                                                       {lang}wcf.user.username.error.$errorType[username]{/lang}
+                                                       {lang}wcf.user.username.error.{$errorType[username]}{/lang}
                                                {/if}
                                        </small>
                                {/if}