From: travis%sedsystems.ca <> Date: Sat, 8 Jan 2005 05:19:26 +0000 (+0000) Subject: Bug 276600: checking votes in editproducts.cgi is broken (regression due to bug 271474) X-Git-Tag: bugzilla-2.19.2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0be9657684725a99c44c91bca07ea695493aea8b;p=thirdparty%2Fbugzilla.git Bug 276600: checking votes in editproducts.cgi is broken (regression due to bug 271474) Patch: LpSolit@netscape.net r=gerv,mkanat a=justdave --- diff --git a/CGI.pl b/CGI.pl index c1a9259bd7..19ae5da493 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 {