aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiago Mello <timello@gmail.com>2011-03-06 12:01:28 -0300
committerTiago Mello <timello@gmail.com>2011-03-06 12:01:28 -0300
commit42087849369d5d8d90e6ea000b02791ca40b1164 (patch)
treecd0f3065e088287f1036198b005dcb526b51ab00
parenta6440668382c448e7c6367acce669def710f5fb5 (diff)
downloadbugs-42087849369d5d8d90e6ea000b02791ca40b1164.tar
bugs-42087849369d5d8d90e6ea000b02791ca40b1164.tar.gz
bugs-42087849369d5d8d90e6ea000b02791ca40b1164.tar.bz2
bugs-42087849369d5d8d90e6ea000b02791ca40b1164.tar.xz
bugs-42087849369d5d8d90e6ea000b02791ca40b1164.zip
Bug 639151: Fix the webservice Bug.get method to return the correct see
also url list. r/a=mkanat
-rw-r--r--Bugzilla/WebService/Bug.pm3
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;
}