fix undeclared variables or wrong variable names (/mod)

This commit is contained in:
rabuzarus 2018-02-12 03:25:09 +01:00
parent ab7646016b
commit 2e03a3a47f
22 changed files with 29 additions and 24 deletions

View file

@ -55,7 +55,7 @@ function user_allow($hash)
L10n::pushLang($register[0]['language']);
User::sendRegisterOpenEmail(
$res = User::sendRegisterOpenEmail(
$user[0]['email'],
$a->config['sitename'],
System::baseUrl(),
@ -100,7 +100,7 @@ function regmod_content(App $a)
if (!local_user()) {
info(L10n::t('Please login.') . EOL);
$o .= '<br /><br />' . Login::form($a->query_string, $a->config['register_policy'] == REGISTER_CLOSED ? 0 : 1);
$o = '<br /><br />' . Login::form($a->query_string, $a->config['register_policy'] == REGISTER_CLOSED ? 0 : 1);
return $o;
}