aboutsummaryrefslogtreecommitdiff
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
parentRemove _join_flag_tables from Search.pm, which was dead code. (diff)
downloadbugzilla-42087849369d5d8d90e6ea000b02791ca40b1164.tar.gz
bugzilla-42087849369d5d8d90e6ea000b02791ca40b1164.tar.bz2
bugzilla-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;
}