summaryrefslogtreecommitdiffstats
path: root/sanitycheck.cgi
diff options
context:
space:
mode:
authormatty%chariot.net.au <>2002-10-05 22:50:12 +0200
committermatty%chariot.net.au <>2002-10-05 22:50:12 +0200
commit221ecd2bc654d7138619a1db4e1a315b60d960bb (patch)
tree198c6ce44ce1ae128e45342db3551130218f3c2e /sanitycheck.cgi
parent765c0eace61e62eb4d45faaae0387d71ff97d477 (diff)
downloadbugzilla-221ecd2bc654d7138619a1db4e1a315b60d960bb.tar.gz
bugzilla-221ecd2bc654d7138619a1db4e1a315b60d960bb.tar.xz
... and fix build.
Diffstat (limited to 'sanitycheck.cgi')
-rwxr-xr-xsanitycheck.cgi6
1 files changed, 2 insertions, 4 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi
index 0d8538fff..4e79bed6c 100755
--- a/sanitycheck.cgi
+++ b/sanitycheck.cgi
@@ -27,7 +27,7 @@ use lib qw(.);
require "CGI.pl";
-use vars %::FORM;
+use vars qw(%FORM $unconfirmedstate);
ConnectToDatabase();
@@ -569,9 +569,7 @@ BugCheck("bugs WHERE bug_status NOT IN ($open_states) AND resolution = ''",
Status("Checking statuses/everconfirmed");
-my $sqlunconfirmed = SqlQuote($::unconfirmedstate);
-
-BugCheck("bugs WHERE bug_status = $sqlunconfirmed AND everconfirmed = 1",
+BugCheck("bugs WHERE bug_status = $unconfirmedstate 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