summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-01-09 15:33:39 +0100
committerGitHub <noreply@github.com>2018-01-09 15:33:39 +0100
commit5f8217bed6a49b1a5778e072970dec435a0ebca9 (patch)
tree1f42898e0eb3eb609e7f3417eb5ace29109574b8
parent2fcf66d32288fac5eb489a1f298ccea6a451083e (diff)
downloadbugzilla-5f8217bed6a49b1a5778e072970dec435a0ebca9.tar.gz
bugzilla-5f8217bed6a49b1a5778e072970dec435a0ebca9.tar.xz
Bug 1429060 - Fix nagios checker blocker breakage from PR #340
-rwxr-xr-xscripts/nagios_blocker_checker.pl3
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";