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

WWSympa: Owners/moderators in list panel aren't updated after edition on review page.

Fixed by getting recent owners/moderators passing cache.
parent 9d31cceb
......@@ -2851,7 +2851,9 @@ sub check_param_out {
# Owners and editors
foreach my $role (qw(owner editor)) {
foreach my $u ($list->get_admins($role)) {
my @users =
grep {$_->{role} eq $role} @{$list->get_current_admins || []};
foreach my $u (@users) {
next unless $u->{'email'};
my ($local, $domain) = split /\@/, $u->{'email'};
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