summaryrefslogtreecommitdiffstats
path: root/votes.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-09-05 21:47:59 +0200
committerlpsolit%gmail.com <>2006-09-05 21:47:59 +0200
commit3a6abfea317ca21c5104485ce161b3ee2e12a54d (patch)
tree00c77aa7cf0b0413538761a84f0ec905bd880692 /votes.cgi
parent20e324c68eb1063c6ea8cf35a51f24a02abefb5b (diff)
downloadbugzilla-3a6abfea317ca21c5104485ce161b3ee2e12a54d.tar.gz
bugzilla-3a6abfea317ca21c5104485ce161b3ee2e12a54d.tar.xz
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
Diffstat (limited to 'votes.cgi')
-rwxr-xr-xvotes.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/votes.cgi b/votes.cgi
index a3b73f008..de3873328 100755
--- a/votes.cgi
+++ b/votes.cgi
@@ -341,7 +341,7 @@ sub record_votes {
$dbh->bz_unlock_tables();
$vars->{'type'} = "votes";
- $vars->{'mailrecipients'} = { 'changer' => $who };
+ $vars->{'mailrecipients'} = { 'changer' => Bugzilla->user->login };
foreach my $bug_id (@updated_bugs) {
$vars->{'id'} = $bug_id;