From: Max Kanat-Alexander Date: Fri, 26 Mar 2010 02:33:22 +0000 (-0700) Subject: Bug 553818: Fix the format of the return value for the Bug.attachments X-Git-Tag: bugzilla-3.6~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4744d72828cc4b3898b886fa2c7beab76c8d5ca0;p=thirdparty%2Fbugzilla.git Bug 553818: Fix the format of the return value for the Bug.attachments method in the WebService r=dkl, a=mkanat --- diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm index 4d98d57872..ef4ec014f0 100644 --- a/Bugzilla/WebService/Bug.pm +++ b/Bugzilla/WebService/Bug.pm @@ -591,9 +591,7 @@ sub attachments { $self->_attachment_to_hash($attach, $params); } - $bugs{attachments} = \%attachments; - - return { bugs => \%bugs }; + return { bugs => \%bugs, attachments => \%attachments }; } ##############################