From 801e7b6a3933ab3ee258bdbf873b981eea913c54 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 19 Jun 2024 12:23:03 +0200 Subject: [PATCH] Fix the missing error message --- com.woltlab.wcf/templates/articleAdd.tpl | 4 ++++ wcfsetup/install/files/acp/templates/articleAdd.tpl | 2 ++ 2 files changed, 6 insertions(+) diff --git a/com.woltlab.wcf/templates/articleAdd.tpl b/com.woltlab.wcf/templates/articleAdd.tpl index aeccb5ccf6..1e2298b192 100644 --- a/com.woltlab.wcf/templates/articleAdd.tpl +++ b/com.woltlab.wcf/templates/articleAdd.tpl @@ -372,6 +372,8 @@ {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} + {elseif $errorType == 'disallowedBBCodes'} + {lang}wcf.message.error.disallowedBBCodes{/lang} {else} {lang}wcf.acp.article.content.error.{@$errorType}{/lang} {/if} @@ -531,6 +533,8 @@ {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} + {elseif $errorType == 'disallowedBBCodes'} + {lang}wcf.message.error.disallowedBBCodes{/lang} {else} {lang}wcf.acp.article.content.error.{@$errorType}{/lang} {/if} diff --git a/wcfsetup/install/files/acp/templates/articleAdd.tpl b/wcfsetup/install/files/acp/templates/articleAdd.tpl index 437d15ff08..1e2298b192 100644 --- a/wcfsetup/install/files/acp/templates/articleAdd.tpl +++ b/wcfsetup/install/files/acp/templates/articleAdd.tpl @@ -372,6 +372,8 @@ {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} + {elseif $errorType == 'disallowedBBCodes'} + {lang}wcf.message.error.disallowedBBCodes{/lang} {else} {lang}wcf.acp.article.content.error.{@$errorType}{/lang} {/if} -- 2.20.1