From ddc72fee6655a6c0b38e1bb8a66c32a82c140217 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Thu, 25 Mar 2010 19:32:31 -0700 Subject: Bug 553818: Fix the format of the return value for the Bug.attachments method in the WebService r=dkl, a=mkanat --- Bugzilla/WebService/Bug.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Bugzilla/WebService') diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm index da6f22c87..ff8051700 100644 --- a/Bugzilla/WebService/Bug.pm +++ b/Bugzilla/WebService/Bug.pm @@ -588,9 +588,7 @@ sub attachments { $self->_attachment_to_hash($attach, $params); } - $bugs{attachments} = \%attachments; - - return { bugs => \%bugs }; + return { bugs => \%bugs, attachments => \%attachments }; } ############################## -- cgit v1.2.3-24-g4f1b