summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-08-01 20:05:12 +0200
committerbbaetz%student.usyd.edu.au <>2002-08-01 20:05:12 +0200
commitb120c86072319a9ecd50f38f9bf5fccba1043ce7 (patch)
treed7ae8e64d26ba7b262f3af6d0c45dbf885a93150
parent2cc0f37973df10b9ba143a9d14a8f0afd8547914 (diff)
downloadbugzilla-b120c86072319a9ecd50f38f9bf5fccba1043ce7.tar.gz
bugzilla-b120c86072319a9ecd50f38f9bf5fccba1043ce7.tar.xz
Bug 118442 - Bugzilla fails to notice if nothing has changed when editing
multiple bugs if no keywords have been defined patch by jake@bugzilla.org, r=bbaetz
-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*$/) {