summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 };
}
##############################