diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-10-16 22:57:15 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-10-16 22:57:15 +0200 |
commit | e377a5b02799540d3a9df0fbb1f6fae90f8d9a5c (patch) | |
tree | c3f8bd0f0757b0a8c5b85edfbbe1a3998ddc1232 /Bugzilla/WebService/Product.pm | |
parent | af38912df5c0f57ad40377119b91dd03d8f9b520 (diff) | |
download | bugzilla-e377a5b02799540d3a9df0fbb1f6fae90f8d9a5c.tar.gz bugzilla-e377a5b02799540d3a9df0fbb1f6fae90f8d9a5c.tar.xz |
Bug 577329 - WebServices should filter email addresses same as the web UI as users are not always required to login
r/a=LpSolit
Diffstat (limited to 'Bugzilla/WebService/Product.pm')
-rw-r--r-- | Bugzilla/WebService/Product.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Bugzilla/WebService/Product.pm b/Bugzilla/WebService/Product.pm index 2dcbe9de9..c1308bedc 100644 --- a/Bugzilla/WebService/Product.pm +++ b/Bugzilla/WebService/Product.pm @@ -235,10 +235,10 @@ sub _component_to_hash { description => $self->type('string' , $component->description), default_assigned_to => - $self->type('string' , $component->default_assignee->login), - default_qa_contact => - $self->type('string' , $component->default_qa_contact ? - $component->default_qa_contact->login : ''), + $self->type('email', $component->default_assignee->login), + default_qa_contact => + $self->type('email', $component->default_qa_contact ? + $component->default_qa_contact->login : ""), sort_key => # sort_key is returned to match Bug.fields 0, is_active => |