aboutsummaryrefslogtreecommitdiffstats
path: root/votes.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'votes.cgi')
-rwxr-xr-xvotes.cgi3
1 files changed, 1 insertions, 2 deletions
diff --git a/votes.cgi b/votes.cgi
index 49ac0cb2a..e209ba338 100755
--- a/votes.cgi
+++ b/votes.cgi
@@ -343,8 +343,7 @@ 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, delta_ts=delta_ts
- WHERE bug_id = $id");
+ SendSQL("UPDATE bugs SET votes = $v WHERE bug_id = $id");
my $confirmed = CheckIfVotedConfirmed($id, $who);
$vars->{'header_done'} = 1 if $confirmed;
}