1
0
Fork 0
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/');
}
// Is there text in the tar pid?
if (!empty($_POST('registeertarpid'))) {
// Is there text in the tar pit?
if (!empty($_POST('registertarpit'))) {
\notice(L10n::t('You have entered too much information.'));
$a->internalRedirect('register/');
}

View file

@ -56,7 +56,7 @@
{{if $permonly}}
{{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}}
{{$publish nofilter}}

View file

@ -56,7 +56,7 @@
{{if $permonly}}
{{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}}
{{$publish nofilter}}