]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 276600: checking votes in editproducts.cgi is broken (regression due to bug 271474)
authortravis%sedsystems.ca <>
Sat, 8 Jan 2005 05:18:57 +0000 (05:18 +0000)
committertravis%sedsystems.ca <>
Sat, 8 Jan 2005 05:18:57 +0000 (05:18 +0000)
Patch: LpSolit@netscape.net  r=gerv,mkanat  a=justdave

CGI.pl

diff --git a/CGI.pl b/CGI.pl
index 17ea0e1e2275c6d05f242a33e7bb197cf870ad00..47a11f816c5a6ec4af0abc77525c1cd9981d2642 100644 (file)
--- 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 {