aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjustdave%bugzilla.org <>2005-01-30 12:22:27 +0000
committerjustdave%bugzilla.org <>2005-01-30 12:22:27 +0000
commitd9e238bc897b7614a81784dbebc69b9a155c9539 (patch)
tree53c77604819036f28ff7e833e3a6e2514d04883a /votes.cgi
parentBug 227990 : UI Footer does not respect HTML 4 specifications (diff)
downloadbugzilla-d9e238bc897b7614a81784dbebc69b9a155c9539.tar.gz
bugzilla-d9e238bc897b7614a81784dbebc69b9a155c9539.tar.bz2
bugzilla-d9e238bc897b7614a81784dbebc69b9a155c9539.zip
Backing out the checking from bug 257315 until it gets corrected. It prevents new bugs from being filed.
a=justdave
Diffstat (limited to 'votes.cgi')
-rwxr-xr-xvotes.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/votes.cgi b/votes.cgi
index e209ba338..49ac0cb2a 100755
--- a/votes.cgi
+++ b/votes.cgi
@@ -343,7 +343,8 @@ sub record_votes {
foreach my $id (keys %affected) {
SendSQL("SELECT sum(vote_count) FROM votes WHERE bug_id = $id");
my $v = FetchOneColumn() || 0;
- SendSQL("UPDATE bugs SET votes = $v WHERE bug_id = $id");
+ SendSQL("UPDATE bugs SET votes = $v, delta_ts=delta_ts
+ WHERE bug_id = $id");
my $confirmed = CheckIfVotedConfirmed($id, $who);
$vars->{'header_done'} = 1 if $confirmed;
}