From babcd244125d37a84b786399d58646738c012d70 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 9 Nov 2019 01:09:26 -0500 Subject: [PATCH] [hotfix] Fix syntax error in Module\Register - Prevents registration - Addresses https://github.com/friendica/friendica/issues/7675#issuecomment-552070076 --- src/Module/Register.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/Register.php b/src/Module/Register.php index aaca8c02e2..ad49555e69 100644 --- a/src/Module/Register.php +++ b/src/Module/Register.php @@ -262,7 +262,7 @@ class Register extends BaseModule $a->internalRedirect('register/'); } // Is there text in the tar pit? - if (!empty($_POST('registertarpit'))) { + if (!empty($_POST['registertarpit'])) { \notice(L10n::t('You have entered too much information.')); $a->internalRedirect('register/'); } -- 2.39.5