summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
Diffstat (limited to 'CGI.pl')
-rw-r--r--CGI.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/CGI.pl b/CGI.pl
index 69a67b36b..a5a4b3b1e 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -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. " .