diff options
author | travis%sedsystems.ca <> | 2005-02-09 00:51:02 +0000 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-02-09 00:51:02 +0000 |
commit | f8aeecaf8cd33d87315c5a50be9a762e142062a4 (patch) | |
tree | c92dc215a4f6780005bacf825fb6fbdc39552ae1 /votes.cgi | |
parent | Bug 276838 : Eliminate use of $::unconfirmedstate (diff) | |
download | bugzilla-f8aeecaf8cd33d87315c5a50be9a762e142062a4.tar.gz bugzilla-f8aeecaf8cd33d87315c5a50be9a762e142062a4.tar.bz2 bugzilla-f8aeecaf8cd33d87315c5a50be9a762e142062a4.zip |
Bug 257315 : type of delta_ts in bugs table should not be timestamp
Patch by Tomas Kopal <Tomas.Kopal@altap.cz> r=mkanat, LpSolit a=justdave
Diffstat (limited to 'votes.cgi')
-rwxr-xr-x | votes.cgi | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -344,8 +344,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; } |