From: preed%sigkill.com <> Date: Tue, 13 May 2003 12:29:28 +0000 (+0000) Subject: Bug 204724 - ExcludeSelf doesn't work with an email containing capital letters; Patch... X-Git-Tag: bugzilla-2.17.5~149 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40c575a162597f6b1c84e5b5bac9b1238f965abc;p=thirdparty%2Fbugzilla.git Bug 204724 - ExcludeSelf doesn't work with an email containing capital letters; Patch by marcschum@web.de, r=preed/myk,a=myk --- diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index 55c88004b8..da25b6a707 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; }