From 93c8bb6ba8a77fd53474cb8fc91cfbd06d17c0e7 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Thu, 11 Nov 2021 16:32:29 +0800 Subject: [PATCH] * Modify the judgment logic. --- module/product/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/product/control.php b/module/product/control.php index be45f884fb..c40788f3fd 100644 --- a/module/product/control.php +++ b/module/product/control.php @@ -286,7 +286,7 @@ class product extends control $this->view->productName = $productName; $this->view->moduleID = $moduleID; $this->view->stories = $stories; - $this->view->plans = $this->loadModel('productplan')->getPairs($productID, $branch == 'all' ? '' : $branch, '', true); + $this->view->plans = $this->loadModel('productplan')->getPairs($productID, $branch === 'all' ? '' : $branch, '', true); $this->view->productPlans = isset($productPlans) ? array(0 => '') + $productPlans : array(); $this->view->summary = $this->product->summary($stories, $storyType); $this->view->moduleTree = $moduleTree;