Unverified Commit cdf63b0e authored by Luc Didry's avatar Luc Didry
Browse files

Fix tidying

parent c0602e17
......@@ -6423,10 +6423,11 @@ sub _load_include_admin_user_file {
unless (defined $hash{$k}) {
if (defined $pinfo->{$pname}{'file_format'}{$k}{'default'}
) {
$hash{$k} =
$self->_load_list_param($k,
$hash{$k} = $self->_load_list_param(
$k,
$pinfo->{$pname}{'file_format'}{$k}{'default'},
$pinfo->{$pname}{'file_format'}{$k});
$pinfo->{$pname}{'file_format'}{$k}
);
}
}
## Required fields
......@@ -8156,7 +8157,7 @@ sub _load_list_param {
# Empty value.
unless (defined $value and $value =~ /\S/) {
return undef; #FIXME
return undef; #FIXME
}
## Search configuration file
......@@ -8432,10 +8433,11 @@ sub _load_list_config_file {
unless (defined $hash{$k}) {
if (defined $pinfo->{$pname}{'file_format'}{$k}{'default'}
) {
$hash{$k} =
$self->_load_list_param($k,
$hash{$k} = $self->_load_list_param(
$k,
$pinfo->{$pname}{'file_format'}{$k}{'default'},
$pinfo->{$pname}{'file_format'}{$k});
$pinfo->{$pname}{'file_format'}{$k}
);
}
}
......
......@@ -265,8 +265,8 @@ sub load_topics {
$list_of_topics{$robot}{$tree[0]}{'order'} =
$topic->{'order'};
} else {
my $subtopic = join('/', @tree[1 .. $#tree]);
my $title = _load_topics_get_title($topic);
my $subtopic = join('/', @tree[1 .. $#tree]);
my $title = _load_topics_get_title($topic);
my $visibility =
$topic->{'visibility'} || $default_topics_visibility;
$list_of_topics{$robot}{$tree[0]}{'sub'}{$subtopic} =
......
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