From 6f88fd0353220501d46d62190a8aeff2f8056316 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 21 Apr 2015 16:07:29 +0100 Subject: Bug 1156240: Return proper "See Also" data on REST API call to a bug r=dkl,a=glob --- Bugzilla/API/1_0/Resource/Bug.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla') 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} ]; -- cgit v1.2.3-24-g4f1b