mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
oopsie
git-svn-id: file:///svn/phpbb/trunk@4831 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
b20e4ebe5c
commit
171706a343
1 changed files with 2 additions and 2 deletions
|
@ -247,7 +247,7 @@ class ucp_register extends module
|
|||
$messenger->template($email_template, $lang);
|
||||
$messenger->subject($subject);
|
||||
|
||||
$messenger->replyto($user->data['board_contact']);
|
||||
$messenger->replyto($config['board_contact']);
|
||||
$messenger->to($email, $username);
|
||||
|
||||
$messenger->headers('X-AntiAbuse: Board servername - ' . $config['server_name']);
|
||||
|
@ -355,7 +355,7 @@ class ucp_register extends module
|
|||
|
||||
if ($row = $db->sql_fetchrow($result))
|
||||
{
|
||||
if ($config['max_reg_attempts'] && $row['attempts'] >= $row['max_reg_attempts'])
|
||||
if ($config['max_reg_attempts'] && $row['attempts'] >= $config['max_reg_attempts'])
|
||||
{
|
||||
trigger_error($user->lang['TOO_MANY_REGISTERS']);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue