Commit b1a63473 authored by dkl%redhat.com's avatar dkl%redhat.com

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
parent baf56464
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment