Commit afe64bdb authored by David Lawrence's avatar David Lawrence

Bug 1171811: [Voting] When a user votes enough to confirm an individual bug, the…

Bug 1171811: [Voting] When a user votes enough to confirm an individual bug, the bug does not change to CONFIRMED properly r=LpSolit,a=simon
parent c85e0dcf
......@@ -610,7 +610,7 @@ sub _update_votes {
$sth_getVotes->execute($id);
my $v = $sth_getVotes->fetchrow_array || 0;
$sth_updateVotes->execute($v, $id);
$bugs{$id}->{votes} = $v if $bugs{$id};
my $confirmed = _confirm_if_vote_confirmed($bugs{$id} || $id);
push (@updated_bugs, $id) if $confirmed;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment