Unverified Commit 3e5d87a1 authored by IKEDA Soji's avatar IKEDA Soji Committed by GitHub
Browse files

Merge pull request #1049 from ikedas/issue-1048 by ikedas

Missing language on edit subscriber view (#1048)
parents 854c193f ef1e923c
......@@ -9977,7 +9977,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) {
......
Markdown is supported
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