From dc1fba4d33e2857bb803eaa9490b5072696d1402 Mon Sep 17 00:00:00 2001 From: holan20180123 <56391770@qq.com> Date: Fri, 27 Nov 2020 10:48:17 +0800 Subject: [PATCH] * Finish task #8497. --- module/projectrelease/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/projectrelease/control.php b/module/projectrelease/control.php index 595dce4869..3eb4321c78 100644 --- a/module/projectrelease/control.php +++ b/module/projectrelease/control.php @@ -50,7 +50,7 @@ class projectrelease extends control $product = $this->product->getById($productID); $this->view->product = $product; - $this->view->branches = (isset($product->type) and $product->type) == 'normal' ? array() : $this->loadModel('branch')->getPairs($productID); + $this->view->branches = (isset($product->type) and $product->type == 'normal') ? array() : $this->loadModel('branch')->getPairs($productID); $this->view->branch = $branch; $this->view->project = $this->loadModel('project')->getById($this->session->PRJ); $this->view->products = $products;