diff --git a/api/v1/entries/products.php b/api/v1/entries/products.php index 41ae54055c..1763eef7cc 100644 --- a/api/v1/entries/products.php +++ b/api/v1/entries/products.php @@ -24,7 +24,7 @@ class productsEntry extends entry if(strpos(strtolower(",{$fields},"), ',dropmenu,') !== false) return $this->getDropMenu(); if(!$programID) $programID = $this->param('program', 0); - if(!$projectID) $projectID = $this->param('project', 0); + $projectID = $this->param('project', 0); $mergeChildren = $this->param('mergeChildren', ''); if($programID)