summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-04-21 17:07:29 +0200
committerDavid Lawrence <dkl@mozilla.com>2015-04-21 17:07:29 +0200
commit6f88fd0353220501d46d62190a8aeff2f8056316 (patch)
treeb4831d3cc9c95e37f37f24995debccf341e39157 /Bugzilla
parent1f981e12229c98e88bb545e41de2248538c685fd (diff)
downloadbugzilla-6f88fd0353220501d46d62190a8aeff2f8056316.tar.gz
bugzilla-6f88fd0353220501d46d62190a8aeff2f8056316.tar.xz
Bug 1156240: Return proper "See Also" data on REST API call to a bug
r=dkl,a=glob
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/API/1_0/Resource/Bug.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/API/1_0/Resource/Bug.pm b/Bugzilla/API/1_0/Resource/Bug.pm
index 6797526c4..f79dad72e 100644
--- a/Bugzilla/API/1_0/Resource/Bug.pm
+++ b/Bugzilla/API/1_0/Resource/Bug.pm
@@ -1425,7 +1425,7 @@ sub _bug_to_hash {
}
}
if (filter_wants $params, 'see_also') {
- $item{'see_also'} = as_string_array($bug->see_also);
+ $item{'see_also'} = as_name_array($bug->see_also);
}
if (filter_wants $params, 'flags') {
$item{'flags'} = [ map { $self->_flag_to_hash($_) } @{$bug->flags} ];