diff --git a/module/execution/control.php b/module/execution/control.php index 74e9c7da44..01863e5d8c 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -1326,6 +1326,7 @@ class execution extends control $acl = $copyExecution->acl; $whitelist = $copyExecution->whitelist; $projectID = $copyExecution->project; + $project = $this->project->getByID($projectID); $products = $this->loadModel('product')->getProducts($copyExecutionID); $branches = $this->project->getBranchesByProject($copyExecutionID); $plans = $this->loadModel('productplan')->getGroupByProduct(array_keys($products), 'skipParent|unexpired');