* Modify the judgment logic.

This commit is contained in:
tianshujie
2021-11-11 16:32:29 +08:00
parent 78aee66c47
commit 93c8bb6ba8
+1 -1
View File
@@ -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;