From: Alexander Ebert Date: Sun, 4 Oct 2020 10:54:32 +0000 (+0200) Subject: Log form validation errors to the console when running in debug mode X-Git-Tag: 5.3.0_RC_1~11 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=434eb052c5f8a9a41773f041eaf143ac706d0bee;p=GitHub%2FWoltLab%2FWCF.git Log form validation errors to the console when running in debug mode Closes #3541 --- diff --git a/com.woltlab.wcf/templates/pageFooter.tpl b/com.woltlab.wcf/templates/pageFooter.tpl index f4aca1d744..c7062323ee 100644 --- a/com.woltlab.wcf/templates/pageFooter.tpl +++ b/com.woltlab.wcf/templates/pageFooter.tpl @@ -8,6 +8,13 @@ errorType: {if $errorType|empty}(empty){else}{$errorType|print_r:true}{/if} --> + {if ENABLE_DEBUG_MODE} + + {/if} {/if} {assign var=__boxesFooter value=$__wcf->getBoxHandler()->getBoxes('footer')}