From 12eb7b79859d1ee0be9f237d2b097fc4bf42d2c3 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Tue, 13 Jul 2010 15:43:40 -0700 Subject: Bug 412074: Ability to add attachments to a bug via the WebService (Bug.add_attachment) r=timello, a=mkanat --- Bugzilla/Attachment.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Bugzilla/Attachment.pm') diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm index 39afe5df1..0f91d29c4 100644 --- a/Bugzilla/Attachment.pm +++ b/Bugzilla/Attachment.pm @@ -838,6 +838,8 @@ sub create { $sth->bind_param(1, $data, $dbh->BLOB_TYPE); $sth->execute(); + $attachment->{bug} = $bug; + # Return the new attachment object. return $attachment; } -- cgit v1.2.3-24-g4f1b