diff options
author | justdave%bugzilla.org <> | 2005-01-30 12:22:27 +0000 |
---|---|---|
committer | justdave%bugzilla.org <> | 2005-01-30 12:22:27 +0000 |
commit | d9e238bc897b7614a81784dbebc69b9a155c9539 (patch) | |
tree | 53c77604819036f28ff7e833e3a6e2514d04883a /votes.cgi | |
parent | c59641d038e2892db2c40047dde929a2207dd297 (diff) | |
download | bugs-d9e238bc897b7614a81784dbebc69b9a155c9539.tar bugs-d9e238bc897b7614a81784dbebc69b9a155c9539.tar.gz bugs-d9e238bc897b7614a81784dbebc69b9a155c9539.tar.bz2 bugs-d9e238bc897b7614a81784dbebc69b9a155c9539.tar.xz bugs-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-x | votes.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; } |