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
parent 2cc0f379
......@@ -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*$/) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment