From: David Lawrence Date: Fri, 28 Aug 2015 17:32:02 +0000 (+0000) Subject: Bug 1171811: [Voting] When a user votes enough to confirm an individual bug, the... X-Git-Tag: release-5.1.1~187 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3a74a9278457522a6361492fe49e9f984b04a5e;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/extensions/Voting/Extension.pm b/extensions/Voting/Extension.pm index 8009f16bbc..b125933ce5 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; }