diff --git a/module/execution/control.php b/module/execution/control.php index aecafc05ca..9893ea74d8 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -2083,7 +2083,7 @@ class execution extends control $this->view->productID = $productID; $this->view->branchID = $branchID; $this->view->projectID = $this->loadModel('task')->getProjectID($execution->id); - $this->view->allProducts = $this->loadModel('product')->getProductPairsByProject($this->view->projectID, 'noclosed'); + $this->view->allProducts = $this->product->getProductPairsByProject($this->view->projectID, 'noclosed'); $this->view->allPlans = $allPlans; $this->view->kanbanData = $kanbanData; $this->view->executionActions = $executionActions; diff --git a/module/execution/view/kanban.html.php b/module/execution/view/kanban.html.php index fcfc047519..7f2333337e 100644 --- a/module/execution/view/kanban.html.php +++ b/module/execution/view/kanban.html.php @@ -168,7 +168,7 @@ js::set('hasTaskButton', $hasTaskButton); 1) + if(count($allProducts) > 1) { echo '