Don't do dmose's paranoid checking of option values in the query page.

git-svn-id: svn://10.0.0.236/trunk@55427 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
terry%mozilla.org
1999-12-06 17:09:54 +00:00
parent d56aa87800
commit 0ed0a6ba1a
2 changed files with 8 additions and 1 deletions

View File

@@ -270,6 +270,8 @@ sub navigation_header {
}
$::CheckOptionValues = 1;
sub make_options {
my ($src,$default,$isregexp) = (@_);
my $last = "";
@@ -294,7 +296,7 @@ sub make_options {
}
}
if (!$found && $default ne "") {
if ( Param("strictvaluechecks") &&
if ( Param("strictvaluechecks") && $::CheckOptionValues &&
($default ne $::dontchange) && ($default ne "-All-") &&
($default ne "DUPLICATE") ) {
print "Possible bug database corruption has been detected. " .

View File

@@ -26,6 +26,11 @@ use strict;
require "CGI.pl";
$::CheckOptionValues = 0; # It's OK if we have some bogus things in the
# pop-up lists here, from a remembered query
# that is no longer quite valid. We don't
# want to crap out in the query page.
# Shut up misguided -w warnings about "used only once":
use vars @::legal_resolution,