diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-10-16 23:25:00 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-10-16 23:25:00 +0200 |
commit | bb85be28137ca2a822eb8164421072d8a088661e (patch) | |
tree | 15c1f039e982760c4708c950c76b8f378646d375 /Bugzilla/WebService/Product.pm | |
parent | 7d0b9d75d0c57661729ff931ee283675016b53f2 (diff) | |
download | bugzilla-bb85be28137ca2a822eb8164421072d8a088661e.tar.gz bugzilla-bb85be28137ca2a822eb8164421072d8a088661e.tar.xz |
Bug 577329 - WebServices should filter email addresses same as the web UI as users are not always required to login
Diffstat (limited to 'Bugzilla/WebService/Product.pm')
-rw-r--r-- | Bugzilla/WebService/Product.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Bugzilla/WebService/Product.pm b/Bugzilla/WebService/Product.pm index c705ece28..7d31f2c38 100644 --- a/Bugzilla/WebService/Product.pm +++ b/Bugzilla/WebService/Product.pm @@ -172,11 +172,11 @@ sub _component_to_hash { name => $self->type('string', $component->name), description => - $self->type('string' , $component->description), + $self->type('string', $component->description), default_assigned_to => - $self->type('string' , $component->default_assignee->login), + $self->type('email', $component->default_assignee->login), default_qa_contact => - $self->type('string' , $component->default_qa_contact->login), + $self->type('email', $component->default_qa_contact->login), sort_key => # sort_key is returned to match Bug.fields 0, is_active => |