* Finish task #8497.

This commit is contained in:
holan20180123
2020-11-27 10:48:17 +08:00
parent 5f54932ddb
commit dc1fba4d33
+1 -1
View File
@@ -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;