]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 351300: votes.cgi crashes if your vote is the one confirming a bug - Patch by...
authorlpsolit%gmail.com <>
Tue, 5 Sep 2006 19:47:59 +0000 (19:47 +0000)
committerlpsolit%gmail.com <>
Tue, 5 Sep 2006 19:47:59 +0000 (19:47 +0000)
votes.cgi

index a3b73f00868085ec33dfa2c26ec4f8bd3153d878..de3873328fc6252cdd694dc03e66051278c95903 100755 (executable)
--- 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;