* fix bug for create project release.

This commit is contained in:
wangyidong
2022-11-11 17:35:34 +08:00
parent 8c3c3bc660
commit 549290cf9d
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ class projectrelease extends control
$this->view->products = $this->products;
$this->view->product = $product;
$this->view->branches = (isset($product->type) and $product->type == 'normal') ? array() : $this->loadModel('branch')->getPairs($productID, 'active');
$this->view->branches = (isset($product->type) and $product->type == 'normal') ? array() : $this->loadModel('branch')->getPairs($productID, 'active', $projectID);
$this->view->branch = $branch;
$this->view->project = $this->project->getByID($projectID);
}