mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
Fixed undefined $subject in register.php (#608)
Переменная $subject нигде не объявлена, это приводит к ошибке при редактировании пользователя с не активированным аккаунтом.
This commit is contained in:
parent
14b5db1413
commit
a5dcafa865
1 changed files with 0 additions and 1 deletions
|
@ -609,7 +609,6 @@ if ($submit && !$errors) {
|
|||
|
||||
$emailer->set_from([$bb_cfg['board_email'] => $bb_cfg['sitename']]);
|
||||
$emailer->set_to([$email => $username]);
|
||||
$emailer->set_subject($subject);
|
||||
$emailer->set_subject($lang['EMAILER_SUBJECT']['USER_ACTIVATE']);
|
||||
|
||||
$emailer->set_template('user_activate', $pr_data['user_lang']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue