This commit is contained in:
Tobias Diekershoff 2019-11-03 17:37:53 +01:00
parent 0215ceeecd
commit 1377d13055
3 changed files with 4 additions and 4 deletions

View File

@ -261,8 +261,8 @@ class Register extends BaseModule
$a->internalRedirect('register/'); $a->internalRedirect('register/');
} }
// Is there text in the tar pid? // Is there text in the tar pit?
if (!empty($_POST('registeertarpid'))) { if (!empty($_POST('registertarpit'))) {
\notice(L10n::t('You have entered too much information.')); \notice(L10n::t('You have entered too much information.'));
$a->internalRedirect('register/'); $a->internalRedirect('register/');
} }

View File

@ -56,7 +56,7 @@
{{if $permonly}} {{if $permonly}}
{{include file="field_textarea.tpl" field=$permonlybox}} {{include file="field_textarea.tpl" field=$permonlybox}}
<input type="input" id="registertarpid" style="display: none;" placeholder="Don't enter anything here" /> <input type="input" id="registertarpit" style="display: none;" placeholder="Don't enter anything here" />
{{/if}} {{/if}}
{{$publish nofilter}} {{$publish nofilter}}

View File

@ -56,7 +56,7 @@
{{if $permonly}} {{if $permonly}}
{{include file="field_textarea.tpl" field=$permonlybox}} {{include file="field_textarea.tpl" field=$permonlybox}}
<input type="input" id="registertarpid" style="display: none;" placeholder="Don't enter anything here"/> <input type="input" id="registertarpit" style="display: none;" placeholder="Don't enter anything here"/>
{{/if}} {{/if}}
{{$publish nofilter}} {{$publish nofilter}}