]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 133833. Error in templatized version of userprefs.cgi. Error
authordkl%redhat.com <>
Tue, 2 Apr 2002 02:06:20 +0000 (02:06 +0000)
committerdkl%redhat.com <>
Tue, 2 Apr 2002 02:06:20 +0000 (02:06 +0000)
with ExcludeSelf form variable being all lowercase. Patch by David Lawrence
<dkl@rehat.com> 2xr=gerv@mozilla.org

userprefs.cgi

index be8adb3480ecd53dbf3907d0b931de5b32b6d1ca..e38cd40950e70533f06545d853b7c01b2ddd47f7 100755 (executable)
@@ -143,8 +143,8 @@ sub DoEmail {
     # Note that the value of "excludeself" is assumed to be off if the
     # preference does not exist in the user's list, unlike other 
     # preferences whose value is assumed to be on if they do not exist.
-    if (exists($emailflags{'excludeself'}) 
-        && $emailflags{'excludeself'} eq 'on')
+    if (exists($emailflags{'ExcludeSelf'}) 
+        && $emailflags{'ExcludeSelf'} eq 'on')
     {
         $vars->{'excludeself'} = 1;
     }