From 4744d72828cc4b3898b886fa2c7beab76c8d5ca0 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Thu, 25 Mar 2010 19:33:22 -0700 Subject: [PATCH] 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(-) 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 }; } ############################## -- 2.47.2