From 1377d13055e6aeea37811e925455bdb17f98777e Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 3 Nov 2019 17:37:53 +0100 Subject: [PATCH] ypot --- src/Module/Register.php | 4 ++-- view/templates/register.tpl | 2 +- view/theme/frio/templates/register.tpl | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Module/Register.php b/src/Module/Register.php index 4071020e3..0837b5706 100644 --- a/src/Module/Register.php +++ b/src/Module/Register.php @@ -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/'); } diff --git a/view/templates/register.tpl b/view/templates/register.tpl index 609aa5771..7aa1a4d99 100644 --- a/view/templates/register.tpl +++ b/view/templates/register.tpl @@ -56,7 +56,7 @@ {{if $permonly}} {{include file="field_textarea.tpl" field=$permonlybox}} - + {{/if}} {{$publish nofilter}} diff --git a/view/theme/frio/templates/register.tpl b/view/theme/frio/templates/register.tpl index 1ad53aad6..81e519ef7 100644 --- a/view/theme/frio/templates/register.tpl +++ b/view/theme/frio/templates/register.tpl @@ -56,7 +56,7 @@ {{if $permonly}} {{include file="field_textarea.tpl" field=$permonlybox}} - + {{/if}} {{$publish nofilter}}