Bug 639151: Fix the webservice Bug.get method to return the correct see

also url list.
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@262007 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org
2011-03-06 15:16:44 +00:00
parent 23053eda13
commit 07690fe24f
2 changed files with 3 additions and 2 deletions

View File

@@ -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;
}