Unverified Commit 3eada859 authored by IKEDA Soji's avatar IKEDA Soji Committed by GitHub
Browse files

Merge pull request #1207 from ikedas/bug_in_5b5fd551

custom_robot_parameter parameter was broken
parents bce24063 b1c50210
......@@ -1709,9 +1709,12 @@ sub _load_config_file_to_hash {
domains_blacklist => 'domains_blocklist', # 6.2.41b.1 - 6.2.60
}->{$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