From d3a74a9278457522a6361492fe49e9f984b04a5e Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Fri, 28 Aug 2015 17:32:02 +0000 Subject: 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 --- extensions/Voting/Extension.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/Voting/Extension.pm b/extensions/Voting/Extension.pm index 8009f16bb..b125933ce 100644 --- a/extensions/Voting/Extension.pm +++ b/extensions/Voting/Extension.pm @@ -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; } -- cgit v1.2.3-24-g4f1b