aboutsummaryrefslogtreecommitdiff
path: root/CGI.pl
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-01-08 05:18:57 +0000
committertravis%sedsystems.ca <>2005-01-08 05:18:57 +0000
commitcc89a773f9718efdbc786a96f633cd7481a9b75e (patch)
treef39f7dee8e3da554eb32db251a3c252879915e7e /CGI.pl
parentBug 276913: Uninitialized value message from CGI.pl line 176 (diff)
downloadbugzilla-cc89a773f9718efdbc786a96f633cd7481a9b75e.tar.gz
bugzilla-cc89a773f9718efdbc786a96f633cd7481a9b75e.tar.bz2
bugzilla-cc89a773f9718efdbc786a96f633cd7481a9b75e.zip
Bug 276600: checking votes in editproducts.cgi is broken (regression due to bug 271474)
Patch: LpSolit@netscape.net r=gerv,mkanat a=justdave
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 17ea0e1e2..47a11f816 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 {