From 8449ddc1397a699e8473ee657b18e1ed6928f4bb Mon Sep 17 00:00:00 2001
From: "bbaetz%acm.org" <>
Date: Sun, 27 Apr 2003 14:20:36 +0000
Subject: Bug 180086 - Rename 'count' column in votes tables patch by
bugzilla@chimpychompy.org (GavinS) r=bbaetz,justdave a=justdave
---
editproducts.cgi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'editproducts.cgi')
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{
Removed votes for bug $id 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;
--
cgit v1.2.1