From 40c575a162597f6b1c84e5b5bac9b1238f965abc Mon Sep 17 00:00:00 2001 From: "preed%sigkill.com" <> Date: Tue, 13 May 2003 12:29:28 +0000 Subject: Bug 204724 - ExcludeSelf doesn't work with an email containing capital letters; Patch by marcschum@web.de, r=preed/myk,a=myk --- Bugzilla/BugMail.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/BugMail.pm') diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index 55c88004b..da25b6a70 100644 --- a/Bugzilla/BugMail.pm +++ b/Bugzilla/BugMail.pm @@ -637,7 +637,7 @@ sub filterEmailGroup ($$$) { # If this user is the one who made the change in the first place, # and they prefer not to receive mail about their own changes, # filter them from the list. - if (lc($user) eq $nametoexclude && $prefs{'ExcludeSelf'} eq 'on') { + if (lc($user) eq lc($nametoexclude) && $prefs{'ExcludeSelf'} eq 'on') { push(@excludedAddresses, $user); next; } -- cgit v1.2.3-24-g4f1b