From: dkl%redhat.com <> Date: Tue, 2 Apr 2002 02:06:20 +0000 (+0000) Subject: Fix for bug 133833. Error in templatized version of userprefs.cgi. Error X-Git-Tag: bugzilla-2.16rc1~156 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1a6347387ad22a3f2271f61f8715d75373c615c;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/userprefs.cgi b/userprefs.cgi index be8adb3480..e38cd40950 100755 --- a/userprefs.cgi +++ b/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; }