diff --git a/src/Module/Register.php b/src/Module/Register.php index 4071020e32..0837b5706e 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 609aa57719..7aa1a4d991 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 1ad53aad6d..81e519ef75 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}}