1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-30 03:30:17 +02:00

[ticket/14044] Fix language selection data loss

PHPBB3-14044
This commit is contained in:
Mate Bartus
2015-10-30 15:46:39 +01:00
parent 0990894cf8
commit 719f42c54a
4 changed files with 6 additions and 3 deletions

View File

@@ -104,12 +104,14 @@ class notify_user extends \phpbb\install\task_base
$this->user->session_begin();
$this->user->setup('common');
$this->language->set_default_language($this->config['default_lang']);
if ($this->config['email_enable'])
{
include ($this->phpbb_root_path . 'includes/functions_messenger.' . $this->php_ext);
$messenger = new \messenger(false);
$messenger->template('installed', $this->language->get_used_language());
$messenger->template('installed', $this->install_config->get('user_language', 'en'));
$messenger->to($this->config['board_email'], $this->install_config->get('admin_name'));
$messenger->anti_abuse_headers($this->config, $this->user);
$messenger->assign_vars(array(