diff --git a/module/execution/control.php b/module/execution/control.php index 47a1c84dbe..ab36958f50 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -1234,6 +1234,7 @@ class execution extends control $this->view->title = $this->lang->execution->tips; $this->view->tips = $this->fetch('execution', 'tips', "executionID=$executionID"); $this->view->executionID = $executionID; + $this->view->projectID = $projectID; $this->display(); exit; } diff --git a/module/execution/view/create.html.php b/module/execution/view/create.html.php index 33ba331fd2..17685be726 100644 --- a/module/execution/view/create.html.php +++ b/module/execution/view/create.html.php @@ -11,7 +11,7 @@ */ ?> - createLink('execution', 'task', 'executionID=' . $executionID);?> +systemMode == 'new' ? $this->createLink('project', 'execution', "status=all&projectID=$projectID") : $this-> createLink('execution', 'task', 'executionID=' . $executionID);?>