From 1bc250a4b3e781005313a9de05d44cc9dbf6f7d0 Mon Sep 17 00:00:00 2001 From: songchenxuan Date: Mon, 28 Mar 2022 10:41:38 +0800 Subject: [PATCH] *Fix api bug. --- api/v1/entries/products.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)