summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-03-26 03:32:31 +0100
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-03-26 03:32:31 +0100
commitddc72fee6655a6c0b38e1bb8a66c32a82c140217 (patch)
tree9bd86b6c19ea0e5d9d7254ca5a4ddb9c32737cb8 /Bugzilla/WebService
parent81714e248b1a1a3da1dd2d771118371bc8c7ffb0 (diff)
downloadbugzilla-ddc72fee6655a6c0b38e1bb8a66c32a82c140217.tar.gz
bugzilla-ddc72fee6655a6c0b38e1bb8a66c32a82c140217.tar.xz
Bug 553818: Fix the format of the return value for the Bug.attachments
method in the WebService r=dkl, a=mkanat
Diffstat (limited to 'Bugzilla/WebService')
-rw-r--r--Bugzilla/WebService/Bug.pm4
1 files changed, 1 insertions, 3 deletions
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 };
}
##############################