Unverified Commit 05e8ce85 authored by IKEDA Soji's avatar IKEDA Soji Committed by GitHub
Browse files

Merge pull request #543 from ikedas/wwsympa_cached_admins by ikedas

WWSympa: Owners/moderators in list panel aren't updated
parents d182a6f5 ac6ed043
......@@ -2853,7 +2853,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