From: lpsolit%gmail.com <> Date: Tue, 5 Sep 2006 19:47:59 +0000 (+0000) Subject: Bug 351300: votes.cgi crashes if your vote is the one confirming a bug - Patch by... X-Git-Tag: bugzilla-2.23.3~87 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a6abfea317ca21c5104485ce161b3ee2e12a54d;p=thirdparty%2Fbugzilla.git Bug 351300: votes.cgi crashes if your vote is the one confirming a bug - Patch by Frédéric Buclin r=Colin a=myk --- diff --git a/votes.cgi b/votes.cgi index a3b73f0086..de3873328f 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;