Commit 5b824c83 authored by Olivier Salaün's avatar Olivier Salaün
Browse files

Fix get_inactive_lists: the page was not listing the current list...

Fix get_inactive_lists: the page was not listing the current list owners/editors because they were loaded the wrong way ->{'admin'}{'owner'} instead of ->get_current_admins.
parent 83181eee
......@@ -9622,10 +9622,10 @@ sub do_get_inactive_lists {
'creator' => $list->{'admin'}{'creation'}{'email'},
'send_scenario' => $list->{'admin'}{'send'}{'name'},
'owners' => join(
", ", map { $_->{'email'} } @{$list->{'admin'}{'owner'}}
", ", map { $_->{'email'} } grep { $_->{role} eq 'owner' } @{$list->get_current_admins}
),
'editors' => join(", ",
map { $_->{'email'} } @{$list->{'admin'}{'editor'}}),
map { $_->{'email'} } grep { $_->{role} eq 'editor' } @{$list->get_current_admins}),
'subscribers_count' => $list->get_total('nocache'),
'subject' => $list->{'admin'}{'subject'},
'msg_count' => $list->get_msg_count(),
......
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