From: lpsolit%gmail.com <> Date: Tue, 5 Sep 2006 19:51:14 +0000 (+0000) Subject: Bug 351300: votes.cgi crashes if your vote is the one confirming a bug - Patch by... X-Git-Tag: bugzilla-2.20.3~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5013f7f4d83a01d9c2204730479397d42d5e6fe6;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 48064ddada..8a7dbf8c53 100755 --- a/votes.cgi +++ b/votes.cgi @@ -361,7 +361,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;