Commit 0be96576 authored by travis%sedsystems.ca's avatar travis%sedsystems.ca

Bug 276600: checking votes in editproducts.cgi is broken (regression due to bug 271474)

Patch: LpSolit@netscape.net r=gerv,mkanat a=justdave
parent 36578f08
...@@ -244,6 +244,7 @@ sub PutFooter { ...@@ -244,6 +244,7 @@ sub PutFooter {
sub CheckIfVotedConfirmed { sub CheckIfVotedConfirmed {
my ($id, $who) = (@_); my ($id, $who) = (@_);
PushGlobalSQLState();
SendSQL("SELECT bugs.votes, bugs.bug_status, products.votestoconfirm, " . SendSQL("SELECT bugs.votes, bugs.bug_status, products.votestoconfirm, " .
" bugs.everconfirmed " . " bugs.everconfirmed " .
"FROM bugs, products " . "FROM bugs, products " .
...@@ -273,6 +274,7 @@ sub CheckIfVotedConfirmed { ...@@ -273,6 +274,7 @@ sub CheckIfVotedConfirmed {
$template->process("bug/process/results.html.tmpl", $vars) $template->process("bug/process/results.html.tmpl", $vars)
|| ThrowTemplateError($template->error()); || ThrowTemplateError($template->error());
} }
PopGlobalSQLState();
} }
sub LogActivityEntry { sub LogActivityEntry {
......
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