]> 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:32:31 +0000 (19:32 -0700)
committerMax Kanat-Alexander <mkanat@bugzilla.org>
Fri, 26 Mar 2010 02:32:31 +0000 (19:32 -0700)
method in the WebService
r=dkl, a=mkanat

Bugzilla/WebService/Bug.pm

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