summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService/Bug.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/WebService/Bug.pm')
-rw-r--r--Bugzilla/WebService/Bug.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm
index 7c6547de9..09f6e1adc 100644
--- a/Bugzilla/WebService/Bug.pm
+++ b/Bugzilla/WebService/Bug.pm
@@ -717,7 +717,8 @@ sub create {
$dbh->bz_commit_transaction();
- Bugzilla::BugMail::Send($bug->bug_id, { changer => $bug->reporter });
+ $bug->send_changes();
+
return { id => $self->type('int', $bug->bug_id) };
}