Commit 3a6abfea authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 351300: votes.cgi crashes if your vote is the one confirming a bug - Patch…

Bug 351300: votes.cgi crashes if your vote is the one confirming a bug - Patch by Frédéric Buclin <LpSolit@gmail.com> r=Colin a=myk
parent 20e324c6
...@@ -341,7 +341,7 @@ sub record_votes { ...@@ -341,7 +341,7 @@ sub record_votes {
$dbh->bz_unlock_tables(); $dbh->bz_unlock_tables();
$vars->{'type'} = "votes"; $vars->{'type'} = "votes";
$vars->{'mailrecipients'} = { 'changer' => $who }; $vars->{'mailrecipients'} = { 'changer' => Bugzilla->user->login };
foreach my $bug_id (@updated_bugs) { foreach my $bug_id (@updated_bugs) {
$vars->{'id'} = $bug_id; $vars->{'id'} = $bug_id;
......
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