From 3a6abfea317ca21c5104485ce161b3ee2e12a54d Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 5 Sep 2006 19:47:59 +0000 Subject: Bug 351300: votes.cgi crashes if your vote is the one confirming a bug - Patch by Frédéric Buclin r=Colin a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- votes.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'votes.cgi') 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; -- cgit v1.2.3-24-g4f1b