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