Commit 9cb61df4 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

[bug] "Users" - "Owner" page is empty for awhile after restart.

Fixed by typos not loading information soon.
parent 9d31cceb
......@@ -4150,11 +4150,10 @@ sub may_edit {
# Load edit_list.conf: Track by file, not domain (file may come from
# server, robot, family or list context).
my $edit_list_conf = $self->_cache_get('edit_list_conf');
unless ($edit_list_conf) {
$self->_cache_put('edit_list_conf', $self->_load_edit_list_conf);
}
$edit_list_conf ||= {};
my $edit_list_conf =
$self->_cache_get('edit_list_conf')
|| $self->_cache_put('edit_list_conf', $self->_load_edit_list_conf)
|| {};
my $role;
......@@ -9509,7 +9508,10 @@ sub _load_edit_list_conf {
my $robot = $self->{'domain'};
my $pinfo = Sympa::Robot::list_params($self->{'domain'});
my $pinfo = {
%{Sympa::Robot::list_params($self->{'domain'})},
%Sympa::ListDef::user_info
};
my $file;
my $conf;
......
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