From 221ecd2bc654d7138619a1db4e1a315b60d960bb Mon Sep 17 00:00:00 2001 From: "matty%chariot.net.au" <> Date: Sat, 5 Oct 2002 20:50:12 +0000 Subject: [PATCH] ... and fix build. --- sanitycheck.cgi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sanitycheck.cgi b/sanitycheck.cgi index 0d8538fff4..4e79bed6ca 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 -- 2.47.3