From: lpsolit%gmail.com <> Date: Tue, 5 Sep 2006 19:49:40 +0000 (+0000) Subject: Bug 351300: votes.cgi crashes if your vote is the one confirming a bug - Patch by... X-Git-Tag: bugzilla-2.22.1~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfd287b2bf939d8e9ee0764da536cb10a4fa110a;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 f30eebe3ca..43e359393f 100755 --- a/votes.cgi +++ b/votes.cgi @@ -358,7 +358,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;