From 42087849369d5d8d90e6ea000b02791ca40b1164 Mon Sep 17 00:00:00 2001 From: Tiago Mello Date: Sun, 6 Mar 2011 12:01:28 -0300 Subject: Bug 639151: Fix the webservice Bug.get method to return the correct see also url list. r/a=mkanat --- Bugzilla/WebService/Bug.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Bugzilla/WebService/Bug.pm') diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm index 86c6ef5da..582a9ce91 100644 --- a/Bugzilla/WebService/Bug.pm +++ b/Bugzilla/WebService/Bug.pm @@ -874,7 +874,8 @@ sub _bug_to_hash { $item{'qa_contact'} = $self->type('string', $qa_login); } if (filter_wants $params, 'see_also') { - my @see_also = map { $self->type('string', $_) } @{ $bug->see_also }; + my @see_also = map { $self->type('string', $_->name) } + @{ $bug->see_also }; $item{'see_also'} = \@see_also; } -- cgit v1.2.3-24-g4f1b