diff options
author | travis%sedsystems.ca <> | 2005-01-29 03:01:27 +0000 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-01-29 03:01:27 +0000 |
commit | ed20d719e2df695ed2c9127f364886b902d82a24 (patch) | |
tree | 78e3a5205b856822753ff44d7e49f6b967b1d86d /votes.cgi | |
parent | Fix up a 'fix on checkin' nit that I forgot to fix on checkin for Bug 278791 (diff) | |
download | bugzilla-ed20d719e2df695ed2c9127f364886b902d82a24.tar.gz bugzilla-ed20d719e2df695ed2c9127f364886b902d82a24.tar.bz2 bugzilla-ed20d719e2df695ed2c9127f364886b902d82a24.zip |
Bug 257315 : type of delta_ts in bugs table should not be timestamp
Patch by Tomas Kopal <Tomas.Kopal@altap.cz> r=vladd, LpSolit a=justdave
Diffstat (limited to 'votes.cgi')
-rwxr-xr-x | votes.cgi | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; } |