summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xprocess_bug.cgi3
1 files changed, 1 insertions, 2 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 582960b46..d13f51b6c 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -43,7 +43,6 @@ use vars qw(%versions
%components
%COOKIE
%MFORM
- %legal_keywords
%legal_opsys
%legal_platform
%legal_priority
@@ -807,7 +806,7 @@ if ($::FORM{'keywords'}) {
my $keywordaction = $::FORM{'keywordaction'} || "makeexact";
if ($::comma eq ""
- && 0 == @keywordlist && $keywordaction ne "makeexact"
+ && (! @::legal_keywords || (0 == @keywordlist && $keywordaction ne "makeexact"))
&& defined $::FORM{'masscc'} && ! $::FORM{'masscc'}
) {
if (!defined $::FORM{'comment'} || $::FORM{'comment'} =~ /^\s*$/) {