diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-01-09 15:33:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-09 15:33:39 +0100 |
commit | 5f8217bed6a49b1a5778e072970dec435a0ebca9 (patch) | |
tree | 1f42898e0eb3eb609e7f3417eb5ace29109574b8 /scripts | |
parent | 2fcf66d32288fac5eb489a1f298ccea6a451083e (diff) | |
download | bugzilla-5f8217bed6a49b1a5778e072970dec435a0ebca9.tar.gz bugzilla-5f8217bed6a49b1a5778e072970dec435a0ebca9.tar.xz |
Bug 1429060 - Fix nagios checker blocker breakage from PR #340
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/nagios_blocker_checker.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/nagios_blocker_checker.pl b/scripts/nagios_blocker_checker.pl index a212c03e7..0a9ec96b6 100755 --- a/scripts/nagios_blocker_checker.pl +++ b/scripts/nagios_blocker_checker.pl @@ -168,7 +168,8 @@ try { } if (!$any_severity) { - $where .= ' AND bug_severity IN (' . join',', map { $dbh->quote($_) } split(/,/, $config->{severity}) . ')'; + my $severities = join ',', map { $dbh->quote($_) } split(/,/, $config->{severity}); + $where .= " AND bug_severity IN ($severities)"; } my $sql = <<"EOF"; |