]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 288985: cannot remove users from the CC list - Patch by Frederic Buclin <LpSolit...
authorlpsolit%gmail.com <>
Tue, 5 Apr 2005 04:09:17 +0000 (04:09 +0000)
committerlpsolit%gmail.com <>
Tue, 5 Apr 2005 04:09:17 +0000 (04:09 +0000)
Bugzilla/BugMail.pm

index fef9590871971aa85f54072164f2ad59810678a9..faa30b09029d79dd3facd4dc4179d28512cb48cc 100644 (file)
@@ -363,7 +363,9 @@ sub ProcessOneBug($$) {
             # You can't stop being the reporter, and mail isn't sent if you
             # remove your vote.
             if ($what eq "CC") {
-                push(@{$recipients{DBNameToIdAndCheck($old)}}, REL_CC);
+                foreach my $cc_user (split(/[\s,]+/, $old)) {
+                    push(@{$recipients{DBNameToIdAndCheck($cc_user)}}, REL_CC);
+                }
             }
             elsif ($what eq "QAContact") {
                 push(@{$recipients{DBNameToIdAndCheck($old)}}, REL_QA);