diff --git a/api/v1/entries/testtasks.php b/api/v1/entries/testtasks.php index 8dcabc1b3d..cc34ac7e28 100644 --- a/api/v1/entries/testtasks.php +++ b/api/v1/entries/testtasks.php @@ -24,7 +24,7 @@ class testtasksEntry extends entry /* Get all testtasks. */ $control = $this->loadController('testtask', 'browse'); - $productID = $this->param('productID', 0); + $productID = $this->param('product', 0); $control->browse($productID, $this->param('branch', ''), ($productID > 0 ? 'local' : 'all') . ',' . $this->param('status', 'totalStatus'), $this->param('order', 'id_desc'), $this->param('total', 0), $this->param('limit', 20), $this->param('page', 1), $this->param('begin', ''), $this->param('end', '')); $data = $this->getData();