From: terry%mozilla.org <> Date: Sat, 22 Jan 2000 12:37:42 +0000 (+0000) Subject: Whoops; code to let people turn on new "newemailtech" pref was busted. X-Git-Tag: bugzilla-2.12~444 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ffeb54a1fd93102dda0b55ff785d88bc53745eb;p=thirdparty%2Fbugzilla.git Whoops; code to let people turn on new "newemailtech" pref was busted. --- diff --git a/changepassword.cgi b/changepassword.cgi index 3e433ed04d..5922a1e03a 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'};