summaryrefslogtreecommitdiffstats
path: root/changepassword.cgi
diff options
context:
space:
mode:
authorterry%mozilla.org <>2000-01-22 13:37:42 +0100
committerterry%mozilla.org <>2000-01-22 13:37:42 +0100
commit2ffeb54a1fd93102dda0b55ff785d88bc53745eb (patch)
tree8a0df532de979755cdaa5b3f35b463dd9666ba29 /changepassword.cgi
parent6dcda41d4c40a5617757a3b0ec9bbaeebfde6b55 (diff)
downloadbugzilla-2ffeb54a1fd93102dda0b55ff785d88bc53745eb.tar.gz
bugzilla-2ffeb54a1fd93102dda0b55ff785d88bc53745eb.tar.xz
Whoops; code to let people turn on new "newemailtech" pref was busted.
Diffstat (limited to 'changepassword.cgi')
-rwxr-xr-xchangepassword.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/changepassword.cgi b/changepassword.cgi
index 3e433ed04..5922a1e03 100755
--- a/changepassword.cgi
+++ b/changepassword.cgi
@@ -141,9 +141,11 @@ Please click <b>Back</b> and try again.\n";
}
+my $newemailtech = exists $::FORM{'newemailtech'};
+
SendSQL("UPDATE profiles " .
"SET emailnotification='$::FORM{'emailnotification'}', " .
- " newemailtech = '$::FORM{'newemailtech'}' " .
+ " newemailtech = '$newemailtech' " .
"WHERE login_name = " . SqlQuote($::COOKIE{'Bugzilla_login'}));
my $newrealname = $::FORM{'realname'};