summaryrefslogtreecommitdiffstats
path: root/editproducts.cgi
diff options
context:
space:
mode:
authorbbaetz%acm.org <>2003-04-27 16:20:36 +0200
committerbbaetz%acm.org <>2003-04-27 16:20:36 +0200
commit8449ddc1397a699e8473ee657b18e1ed6928f4bb (patch)
tree5a37c734d6bc56f529d0dd81537de76a0c0fd87e /editproducts.cgi
parentf016a7980404372d9855215a5107968beb3c82f4 (diff)
downloadbugzilla-8449ddc1397a699e8473ee657b18e1ed6928f4bb.tar.gz
bugzilla-8449ddc1397a699e8473ee657b18e1ed6928f4bb.tar.xz
Bug 180086 - Rename 'count' column in votes tables
patch by bugzilla@chimpychompy.org (GavinS) r=bbaetz,justdave a=justdave
Diffstat (limited to 'editproducts.cgi')
-rwxr-xr-xeditproducts.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/editproducts.cgi b/editproducts.cgi
index 9592c02ad..147fbbc38 100755
--- a/editproducts.cgi
+++ b/editproducts.cgi
@@ -1170,7 +1170,7 @@ if ($action eq 'update') {
"FROM votes, bugs " .
"WHERE bugs.bug_id = votes.bug_id " .
" AND bugs.product_id = $product_id " .
- " AND votes.count > $maxvotesperbug");
+ " AND votes.vote_count > $maxvotesperbug");
my @list;
while (MoreSQLData()) {
my ($who, $id) = (FetchSQLData());
@@ -1183,7 +1183,7 @@ if ($action eq 'update') {
print qq{<br>Removed votes for bug <A HREF="show_bug.cgi?id=$id">$id</A> from $name\n};
}
}
- SendSQL("SELECT votes.who, votes.count FROM votes, bugs " .
+ SendSQL("SELECT votes.who, votes.vote_count FROM votes, bugs " .
"WHERE bugs.bug_id = votes.bug_id " .
" AND bugs.product_id = $product_id");
my %counts;