From 175e8849928957de1d8211988f7723c2ff141d98 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 24 Sep 2007 03:13:35 +0000 Subject: [PATCH] =?utf8?q?Bug=20394796:=20"I'm=20added=20to=20or=20removed?= =?utf8?q?=20from=20this=20capacity"=20for=20"CCed"=20doesn't=20work=20cor?= =?utf8?q?rectly=20if=20several=20users=20are=20added=20or=20removed=20at?= =?utf8?q?=20once=20from=20the=20CC=20list=20-=20Patch=20by=20Fr=C3=83?= =?utf8?q?=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r=3Dwurb?= =?utf8?q?lzap=20a=3DLpSolit?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Bugzilla/User.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index ae0505323b..2a61ab76e9 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -1375,8 +1375,8 @@ sub wants_bug_mail { if ($fieldName eq "CC") { my $login = $self->login; - my $inold = ($old =~ /^(.*,)?\Q$login\E(,.*)?$/); - my $innew = ($new =~ /^(.*,)?\Q$login\E(,.*)?$/); + my $inold = ($old =~ /^(.*,\s*)?\Q$login\E(,.*)?$/); + my $innew = ($new =~ /^(.*,\s*)?\Q$login\E(,.*)?$/); if ($inold != $innew) { $events{+EVT_ADDED_REMOVED} = 1; -- 2.47.2