From: lpsolit%gmail.com <> Date: Tue, 5 Apr 2005 04:09:17 +0000 (+0000) Subject: Bug 288985: cannot remove users from the CC list - Patch by Frederic Buclin r=mkanat a=myk --- diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index fef9590871..faa30b0902 100644 --- a/Bugzilla/BugMail.pm +++ b/Bugzilla/BugMail.pm @@ -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);