From e850553165b6851807cd9d7bd8203a88d541cab4 Mon Sep 17 00:00:00 2001 From: "dkl%redhat.com" Date: Mon, 1 Apr 2002 18:06:20 +0000 Subject: [PATCH] Fix for bug 133833. Error in templatized version of userprefs.cgi. Error with ExcludeSelf form variable being all lowercase. Patch by David Lawrence 2xr=gerv@mozilla.org git-svn-id: svn://10.0.0.236/trunk@117863 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/userprefs.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/bugzilla/userprefs.cgi b/mozilla/webtools/bugzilla/userprefs.cgi index be8adb3480e..e38cd40950e 100755 --- a/mozilla/webtools/bugzilla/userprefs.cgi +++ b/mozilla/webtools/bugzilla/userprefs.cgi @@ -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; }