Unverified Commit 152bcf82 authored by IKEDA Soji's avatar IKEDA Soji Committed by GitHub
Browse files

Merge pull request #659 from racke/pr/import-user-listname-output by ikedas

Add list name to "is now subscriber of list" message.
parents 274d6f18 27520b23
...@@ -137,7 +137,7 @@ sub _twist { ...@@ -137,7 +137,7 @@ sub _twist {
} }
$self->add_stash($request, 'notice', 'now_subscriber', $self->add_stash($request, 'notice', 'now_subscriber',
{'email' => $email}); {'email' => $email, listname => $list->{'name'}});
my $user = Sympa::User->new($email); my $user = Sympa::User->new($email);
$user->lang($list->{'admin'}{'lang'}) unless $user->lang; $user->lang($list->{'admin'}{'lang'}) unless $user->lang;
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