summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-07-23 22:26:29 +0200
committerDave Lawrence <dlawrence@mozilla.com>2013-07-23 22:26:29 +0200
commit3f1ae2270b7e6c95a222c09bbced49402c4637fc (patch)
tree7b7eb18490e83736de419196ce5259739ee2adc5
parentb799069b85c17aafb7897b9124a7bb6e494d73fc (diff)
downloadbugzilla-3f1ae2270b7e6c95a222c09bbced49402c4637fc.tar.gz
bugzilla-3f1ae2270b7e6c95a222c09bbced49402c4637fc.tar.xz
Bug 896066 - Allow REST WebService API to for GET /product to allow retrieval of multiple product objects instead of ids
-rw-r--r--Bugzilla/WebService/Product.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/Bugzilla/WebService/Product.pm b/Bugzilla/WebService/Product.pm
index c028c5845..f5a7f953f 100644
--- a/Bugzilla/WebService/Product.pm
+++ b/Bugzilla/WebService/Product.pm
@@ -78,7 +78,6 @@ sub get {
my $products = [];
if (defined $params->{type}) {
my %product_hash;
- my $found = 0;
foreach my $type (@{ $params->{type} }) {
my $result = [];
if ($type eq 'accessible') {