Fix for bug 133833. Error in templatized version of userprefs.cgi. Error

with ExcludeSelf form variable being all lowercase. Patch by David Lawrence
<dkl@rehat.com> 2xr=gerv@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@117863 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dkl%redhat.com
2002-04-01 18:06:20 +00:00
parent d0ca31b6d3
commit e850553165

View File

@@ -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;
}