From: Tiago Mello Date: Sun, 6 Mar 2011 15:01:28 +0000 (-0300) Subject: Bug 639151: Fix the webservice Bug.get method to return the correct see X-Git-Tag: bugzilla-4.1.1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42087849369d5d8d90e6ea000b02791ca40b1164;p=thirdparty%2Fbugzilla.git Bug 639151: Fix the webservice Bug.get method to return the correct see also url list. r/a=mkanat --- diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm index 86c6ef5dad..582a9ce916 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; }