* fix bug for create project release.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user