summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjake%acutex.net <>2002-01-06 23:36:00 +0100
committerjake%acutex.net <>2002-01-06 23:36:00 +0100
commit7fe123d52bd24a2bb11ce2e63308b9f577ad5ab8 (patch)
treed2693e994995eae21d38c765d288e51177e8ddfa
parentde2a3a6b490da721a44e11c0ca4e91286988e794 (diff)
downloadbugzilla-7fe123d52bd24a2bb11ce2e63308b9f577ad5ab8.tar.gz
bugzilla-7fe123d52bd24a2bb11ce2e63308b9f577ad5ab8.tar.xz
Bug 113975 - Changing only cc on mass change page incorrectly gives an error that you didn't select anything to change.
r= myk x2
-rwxr-xr-xprocess_bug.cgi5
1 files changed, 4 insertions, 1 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 072adef4f..ac2e239ef 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -834,7 +834,10 @@ if ($::FORM{'keywords'}) {
my $keywordaction = $::FORM{'keywordaction'} || "makeexact";
-if ($::comma eq "" && 0 == @keywordlist && $keywordaction ne "makeexact") {
+if ($::comma eq ""
+ && 0 == @keywordlist && $keywordaction ne "makeexact"
+ && defined $::FORM{'masscc'} && ! $::FORM{'masscc'}
+ ) {
if (!defined $::FORM{'comment'} || $::FORM{'comment'} =~ /^\s*$/) {
PuntTryAgain("Um, you apparently did not change anything on the " .
"selected bugs.");