From: Hypolite Petovan Date: Sat, 9 Nov 2019 06:09:26 +0000 (-0500) Subject: [hotfix] Fix syntax error in Module\Register X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=babcd244125d37a84b786399d58646738c012d70;p=friendica.git [hotfix] Fix syntax error in Module\Register - Prevents registration - Addresses https://github.com/friendica/friendica/issues/7675#issuecomment-552070076 --- 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/'); }