]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 118442 - Bugzilla fails to notice if nothing has changed when editing
authorbbaetz%student.usyd.edu.au <>
Thu, 1 Aug 2002 18:05:12 +0000 (18:05 +0000)
committerbbaetz%student.usyd.edu.au <>
Thu, 1 Aug 2002 18:05:12 +0000 (18:05 +0000)
multiple bugs if no keywords have been defined
patch by jake@bugzilla.org, r=bbaetz

process_bug.cgi

index 582960b4602acc1301b79627ea73bf158f9f972f..d13f51b6cde249616c4ae0af9d34769d94b9bb58 100755 (executable)
@@ -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*$/) {