summaryrefslogtreecommitdiffstats
path: root/extensions/Voting
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-06-19 21:57:14 +0200
committerDavid Lawrence <dkl@mozilla.com>2015-06-19 21:57:21 +0200
commit9c4ff7b0962bf8c77688d0ce183777ecfa474dc2 (patch)
tree6c189e4e889e86e275d35cf14519308cfbb8d372 /extensions/Voting
parent655f7628e9d88609c41a36d3c27ed41ea5997401 (diff)
downloadbugzilla-9c4ff7b0962bf8c77688d0ce183777ecfa474dc2.tar.gz
bugzilla-9c4ff7b0962bf8c77688d0ce183777ecfa474dc2.tar.xz
Bug 1176362: backport upstream bug 1171811 to bmo/master to fix voting issues
Diffstat (limited to 'extensions/Voting')
-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 0b79d3d21..0ef79d3d3 100644
--- a/extensions/Voting/Extension.pm
+++ b/extensions/Voting/Extension.pm
@@ -639,7 +639,7 @@ sub _update_votes {
$sth_getVotes->execute($id);
my $v = $sth_getVotes->fetchrow_array || 0;
$sth_updateVotes->execute($v, $id);
-
+ $bugs{$id}->{votes} = $v;
my $confirmed = _confirm_if_vote_confirmed($bugs{$id} || $id);
push (@updated_bugs, $id) if $confirmed;
}