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

[bug] custom_robot_parameter parameter was broken.

Injected on commit 5b5fd551 and affects 6.2.57b.1 to 6.2.64.
parent 46eeb792
......@@ -1738,9 +1738,12 @@ sub _load_config_file_to_hash {
$Sympa::Config::Schema::obsolete_robot_params{$keyword}
// $keyword;
if ( exists $params{$keyword}
&& defined $params{$keyword}{'multiple'}
&& $params{$keyword}{'multiple'} == 1) {
if (exists $params{$keyword}
and (
1 == ($params{$keyword}{'multiple'} // 0) #FIXME
or $keyword eq 'custom_robot_parameter'
)
) {
if (defined $result->{'config'}{$keyword}) {
push @{$result->{'config'}{$keyword}}, $value;
push @{$result->{'numbered_config'}{$keyword}},
......
Markdown is supported
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