From 14df3391bc649570386365f86c0b5fa4d46b482c Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" Date: Mon, 4 Apr 2005 21:09:17 +0000 Subject: [PATCH] Bug 288985: cannot remove users from the CC list - Patch by Frederic Buclin r=mkanat a=myk --- webtools/bugzilla/Bugzilla/BugMail.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webtools/bugzilla/Bugzilla/BugMail.pm b/webtools/bugzilla/Bugzilla/BugMail.pm index fef959087197..faa30b09029d 100644 --- a/webtools/bugzilla/Bugzilla/BugMail.pm +++ b/webtools/bugzilla/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);