]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 553818: Fix the format of the return value for the Bug.attachments
authorMax Kanat-Alexander <mkanat@bugzilla.org>
Fri, 26 Mar 2010 02:33:22 +0000 (19:33 -0700)
committerMax Kanat-Alexander <mkanat@bugzilla.org>
Fri, 26 Mar 2010 02:33:22 +0000 (19:33 -0700)
method in the WebService
r=dkl, a=mkanat

Bugzilla/WebService/Bug.pm

index 4d98d578725b2002eca6f8d2ea0e89b9f5d7744f..ef4ec014f0adc695ce304066800a6212accd2149 100644 (file)
@@ -591,9 +591,7 @@ sub attachments {
             $self->_attachment_to_hash($attach, $params);
     }
 
-    $bugs{attachments} = \%attachments;
-
-    return { bugs => \%bugs };
+    return { bugs => \%bugs, attachments => \%attachments };
 }
 
 ##############################