From 2ffeb54a1fd93102dda0b55ff785d88bc53745eb Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Sat, 22 Jan 2000 12:37:42 +0000 Subject: Whoops; code to let people turn on new "newemailtech" pref was busted. --- changepassword.cgi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'changepassword.cgi') diff --git a/changepassword.cgi b/changepassword.cgi index 3e433ed04..5922a1e03 100755 --- a/changepassword.cgi +++ b/changepassword.cgi @@ -141,9 +141,11 @@ Please click Back 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'}; -- cgit v1.2.3-24-g4f1b