summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
Diffstat (limited to 'CGI.pl')
-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 {