From: matty%chariot.net.au <> Date: Sat, 5 Oct 2002 20:50:12 +0000 (+0000) Subject: ... and fix build. X-Git-Tag: bugzilla-2.17.1~89 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=221ecd2bc654d7138619a1db4e1a315b60d960bb;p=thirdparty%2Fbugzilla.git ... and fix build. --- 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