diff options
author | bugreport%peshkin.net <> | 2002-10-02 09:46:22 +0200 |
---|---|---|
committer | bugreport%peshkin.net <> | 2002-10-02 09:46:22 +0200 |
commit | 901d92851f0a1971fa446d5e7032ea42b0c9a2ba (patch) | |
tree | a2262be17d8140bf616b5ad00aa7f307bdaabbe1 /CGI.pl | |
parent | baada6e8807e84dfa22a9fecdd4885839e9cab2d (diff) | |
download | bugzilla-901d92851f0a1971fa446d5e7032ea42b0c9a2ba.tar.gz bugzilla-901d92851f0a1971fa446d5e7032ea42b0c9a2ba.tar.xz |
Bug 172010 voting broken on tip
Regression from 43600 and 157756
2xr=bbaetz
Diffstat (limited to 'CGI.pl')
-rw-r--r-- | CGI.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -904,7 +904,7 @@ sub CheckIfVotedConfirmed { SendSQL("SELECT bugs.votes, bugs.bug_status, products.votestoconfirm, " . " bugs.everconfirmed " . "FROM bugs, products " . - "WHERE bugs.bug_id = $id AND products.product_id = bugs.product_id"); + "WHERE bugs.bug_id = $id AND products.id = bugs.product_id"); my ($votes, $status, $votestoconfirm, $everconfirmed) = (FetchSQLData()); if ($votes >= $votestoconfirm && $status eq $::unconfirmedstate) { SendSQL("UPDATE bugs SET bug_status = 'NEW', everconfirmed = 1 " . |