1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/12254] Better language switching on registration page

PHPBB3-12254
This commit is contained in:
Matt Friedman
2014-04-06 23:55:46 -07:00
parent d0aa7c6455
commit 41b0b8c5f9
2 changed files with 16 additions and 3 deletions

View File

@@ -65,7 +65,6 @@ class ucp_register
}
$user->lang_name = $user_lang = $use_lang;
$user->lang = array();
$user->data['user_lang'] = $user->lang_name;
$user->add_lang(array('common', 'ucp'));
}