[hotfix] Fix syntax error in Module\Register
- Prevents registration - Addresses https://github.com/friendica/friendica/issues/7675#issuecomment-552070076
This commit is contained in:
@@ -262,7 +262,7 @@ class Register extends BaseModule
|
|||||||
$a->internalRedirect('register/');
|
$a->internalRedirect('register/');
|
||||||
}
|
}
|
||||||
// Is there text in the tar pit?
|
// Is there text in the tar pit?
|
||||||
if (!empty($_POST('registertarpit'))) {
|
if (!empty($_POST['registertarpit'])) {
|
||||||
\notice(L10n::t('You have entered too much information.'));
|
\notice(L10n::t('You have entered too much information.'));
|
||||||
$a->internalRedirect('register/');
|
$a->internalRedirect('register/');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user