aboutsummaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
authorReed Loden <reed@reedloden.com>2010-05-06 22:44:58 -0500
committerReed Loden <reed@reedloden.com>2010-05-06 22:44:58 -0500
commitb4c91adafa45e4e1146ca1dabab27404dac6bab6 (patch)
treefa98b726cf2726aef6638289db59d8c3df86eda4 /post_bug.cgi
parent2ca283e7bfc85d86ffd5f312bbab89eedcf9929b (diff)
downloadbugs-b4c91adafa45e4e1146ca1dabab27404dac6bab6.tar
bugs-b4c91adafa45e4e1146ca1dabab27404dac6bab6.tar.gz
bugs-b4c91adafa45e4e1146ca1dabab27404dac6bab6.tar.bz2
bugs-b4c91adafa45e4e1146ca1dabab27404dac6bab6.tar.xz
bugs-b4c91adafa45e4e1146ca1dabab27404dac6bab6.zip
Bug 395451 - "Bugzilla::BugMail needs to use Bug objects internally instead of direct SQL"
[r=mkanat a=mkanat]
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index 0f78cc5cd..c097a96ce 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -245,7 +245,7 @@ if ($token) {
("createbug:$id", $token));
}
-my $recipients = { changer => $user->login };
+my $recipients = { changer => $user };
my $bug_sent = Bugzilla::BugMail::Send($id, $recipients);
$bug_sent->{type} = 'created';
$bug_sent->{id} = $id;