]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 204724 - ExcludeSelf doesn't work with an email containing capital letters; Patch...
authorpreed%sigkill.com <>
Tue, 13 May 2003 12:29:28 +0000 (12:29 +0000)
committerpreed%sigkill.com <>
Tue, 13 May 2003 12:29:28 +0000 (12:29 +0000)
Bugzilla/BugMail.pm

index 55c88004b8d6fb8f10ef78ad72df4cb10b87dc3d..da25b6a707c27ec1d557a23c8ae3826686d56b64 100644 (file)
@@ -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;
         }