Commit 18997adc authored by gerv%gerv.net's avatar gerv%gerv.net

Bug 161450 - New search knob causes warnings. Patch by gerv; 2xr=bbaetz.

parent bd0fd08c
...@@ -1117,7 +1117,7 @@ if ($::FORM{'cmdtype'} eq "dorem") { ...@@ -1117,7 +1117,7 @@ if ($::FORM{'cmdtype'} eq "dorem") {
exit; exit;
} }
} }
elsif ($::FORM{'cmdtype'} eq "doit") { elsif ($::FORM{'cmdtype'} eq "doit" && $::FORM{'remember'}) {
if ($::FORM{'remember'} == 1 && $::FORM{'remtype'} eq "asdefault") { if ($::FORM{'remember'} == 1 && $::FORM{'remtype'} eq "asdefault") {
confirm_login(); confirm_login();
my $userid = DBNameToIdAndCheck($::COOKIE{"Bugzilla_login"}); my $userid = DBNameToIdAndCheck($::COOKIE{"Bugzilla_login"});
......
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