]> git.mxchange.org Git - friendica.git/commitdiff
[hotfix] Fix syntax error in Module\Register
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 9 Nov 2019 06:09:26 +0000 (01:09 -0500)
committerGitHub <noreply@github.com>
Sat, 9 Nov 2019 06:09:26 +0000 (01:09 -0500)
- Prevents registration
- Addresses https://github.com/friendica/friendica/issues/7675#issuecomment-552070076

src/Module/Register.php

index aaca8c02e2c3d275681631d96afab2ca9aa8903d..ad49555e699d77bd4aa06b24b085c977756e9a9a 100644 (file)
@@ -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/');
                        }