diff --git a/module/execution/control.php b/module/execution/control.php index 8b8519cf77..aa6d2836ef 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -475,7 +475,7 @@ class execution extends control $toExecution = $execution->id; $branches = $this->execution->getBranches($toExecution); $tasks = $this->execution->getTasks2Imported($toExecution, $branches); - $executions = $this->execution->getsToImport(array_keys($tasks), $execution->type); + $executions = $this->execution->getToImport(array_keys($tasks), $execution->type); unset($executions[$toExecution]); unset($tasks[$toExecution]); diff --git a/module/execution/model.php b/module/execution/model.php index 6822f93ff5..67423429e2 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -212,7 +212,7 @@ class executionModel extends model */ public function tree() { - $products = $this->loadModel('product')->getPairs('nocode', $this->session->PRJ); + $products = $this->loadModel('product')->getPairs('nocode', 0); $productGroup = $this->getProductGroupList(); $executionTree = "