From b1a6347387ad22a3f2271f61f8715d75373c615c Mon Sep 17 00:00:00 2001 From: "dkl%redhat.com" <> Date: Tue, 2 Apr 2002 02:06:20 +0000 Subject: 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 --- userprefs.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'userprefs.cgi') diff --git a/userprefs.cgi b/userprefs.cgi index be8adb348..e38cd4095 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; } -- cgit v1.2.3-24-g4f1b