summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-01-08 06:19:26 +0100
committertravis%sedsystems.ca <>2005-01-08 06:19:26 +0100
commit0be9657684725a99c44c91bca07ea695493aea8b (patch)
tree40a5b9b2eaea33c4ed43feec6514242a39190e06
parent36578f08635486493875b248b5ef458d5cf888a4 (diff)
downloadbugzilla-0be9657684725a99c44c91bca07ea695493aea8b.tar.gz
bugzilla-0be9657684725a99c44c91bca07ea695493aea8b.tar.xz
Bug 276600: checking votes in editproducts.cgi is broken (regression due to bug 271474)
Patch: LpSolit@netscape.net r=gerv,mkanat a=justdave
-rw-r--r--CGI.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/CGI.pl b/CGI.pl
index c1a9259bd..19ae5da49 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -244,6 +244,7 @@ sub PutFooter {
sub CheckIfVotedConfirmed {
my ($id, $who) = (@_);
+ PushGlobalSQLState();
SendSQL("SELECT bugs.votes, bugs.bug_status, products.votestoconfirm, " .
" bugs.everconfirmed " .
"FROM bugs, products " .
@@ -273,6 +274,7 @@ sub CheckIfVotedConfirmed {
$template->process("bug/process/results.html.tmpl", $vars)
|| ThrowTemplateError($template->error());
}
+ PopGlobalSQLState();
}
sub LogActivityEntry {