summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatty%chariot.net.au <>2002-10-06 00:26:23 +0200
committermatty%chariot.net.au <>2002-10-06 00:26:23 +0200
commite46b1a3683a943fac2b5457c1b0979e537f87601 (patch)
tree32e8e2f90d21d3286a99ac141108ad7d4f602e49
parentba6dc5bb84b897543f19d7b772b9c721e9590a8a (diff)
downloadbugzilla-e46b1a3683a943fac2b5457c1b0979e537f87601.tar.gz
bugzilla-e46b1a3683a943fac2b5457c1b0979e537f87601.tar.xz
Back out a stupid stupid change I made earlier when fixing the stupid stupid bustage I made even earlier. I need sleep.
-rwxr-xr-xsanitycheck.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi
index c4ad20f0e..b3f7c25ba 100755
--- a/sanitycheck.cgi
+++ b/sanitycheck.cgi
@@ -577,7 +577,9 @@ BugCheck("bugs WHERE bug_status NOT IN ($open_states) AND resolution = ''",
Status("Checking statuses/everconfirmed");
-BugCheck("bugs WHERE bug_status = $unconfirmedstate AND everconfirmed = 1",
+my $sqlunconfirmed = SqlQuote($unconfirmedstate);
+
+BugCheck("bugs WHERE bug_status = $sqlunconfirmed AND everconfirmed = 1",
"Bugs that are UNCONFIRMED but have everconfirmed set");
# The below list of resolutions is hardcoded because we don't know if future
# resolutions will be confirmed, unconfirmed or maybeconfirmed. I suspect