diff options
author | Tiago Mello <timello@gmail.com> | 2011-03-06 16:01:28 +0100 |
---|---|---|
committer | Tiago Mello <timello@gmail.com> | 2011-03-06 16:01:28 +0100 |
commit | 42087849369d5d8d90e6ea000b02791ca40b1164 (patch) | |
tree | cd0f3065e088287f1036198b005dcb526b51ab00 /Bugzilla/WebService | |
parent | a6440668382c448e7c6367acce669def710f5fb5 (diff) | |
download | bugzilla-42087849369d5d8d90e6ea000b02791ca40b1164.tar.gz bugzilla-42087849369d5d8d90e6ea000b02791ca40b1164.tar.xz |
Bug 639151: Fix the webservice Bug.get method to return the correct see
also url list.
r/a=mkanat
Diffstat (limited to 'Bugzilla/WebService')
-rw-r--r-- | Bugzilla/WebService/Bug.pm | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |