summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-08-28 19:32:02 +0200
committerDavid Lawrence <dkl@mozilla.com>2015-08-28 19:32:02 +0200
commitd3a74a9278457522a6361492fe49e9f984b04a5e (patch)
treeaa4a326f71d828e27b15f1e7840f054a0420879f /extensions
parent20c3fa770686d6d79a74523ebc68399243c60d83 (diff)
downloadbugzilla-d3a74a9278457522a6361492fe49e9f984b04a5e.tar.gz
bugzilla-d3a74a9278457522a6361492fe49e9f984b04a5e.tar.xz
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
Diffstat (limited to 'extensions')
-rw-r--r--extensions/Voting/Extension.pm2
1 files changed, 1 insertions, 1 deletions
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;
}