From: travis%sedsystems.ca <> Date: Sat, 8 Jan 2005 05:18:57 +0000 (+0000) Subject: Bug 276600: checking votes in editproducts.cgi is broken (regression due to bug 271474) X-Git-Tag: bugzilla-2.18~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc89a773f9718efdbc786a96f633cd7481a9b75e;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 17ea0e1e22..47a11f816c 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 {