From 9642abb3e0215cc795478c3713ab1ef1eadcb770 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 5 Apr 2005 04:09:17 +0000 Subject: Bug 288985: cannot remove users from the CC list - Patch by Frederic Buclin r=mkanat a=myk --- Bugzilla/BugMail.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Bugzilla/BugMail.pm') diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index fef959087..faa30b090 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); -- cgit v1.2.3-24-g4f1b