Commit ef1e923c authored by IKEDA Soji's avatar IKEDA Soji
Browse files

Missing language on edit subscriber view (#1048)

parent 788c69bf
......@@ -10084,7 +10084,10 @@ sub do_editsubscriber {
 
## Get language from user_table
my $user = Sympa::User::get_global_user($in{'email'});
$param->{'current_subscriber'}{'lang'} = $user->{'lang'};
$language->push_lang;
$param->{'current_subscriber'}{'lang'} =
$language->set_lang($user->{'lang'}, Sympa::best_language($list));
$language->pop_lang;
 
foreach my $m ($list->available_reception_mode) {
if ($param->{'current_subscriber'}{'reception'} eq $m) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment