Bug 896066 - Allow REST WebService API to for GET /product to allow retrieval of multiple product objects instead of ids

git-svn-id: svn://10.0.0.236/trunk@264901 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org 2013-07-23 20:31:31 +00:00
parent 2d2dcc1cda
commit 875a3c283c
2 changed files with 1 additions and 2 deletions

View File

@ -1 +1 @@
8656 8657

View File

@ -78,7 +78,6 @@ sub get {
my $products = []; my $products = [];
if (defined $params->{type}) { if (defined $params->{type}) {
my %product_hash; my %product_hash;
my $found = 0;
foreach my $type (@{ $params->{type} }) { foreach my $type (@{ $params->{type} }) {
my $result = []; my $result = [];
if ($type eq 'accessible') { if ($type eq 'accessible') {