diff --git a/module/execution/model.php b/module/execution/model.php index 779db0e026..6f376013a6 100755 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -100,7 +100,7 @@ class executionModel extends model */ public function setMenu(int $executionID) { - $execution = $this->fetchByID((int)$executionID); + $execution = commonModel::isTutorialMode() ? $this->loadModel('tutorial')->getExecution() : $this->fetchByID((int)$executionID); if(!$execution) return; if($execution->type == 'kanban') $this->executionTao->setKanbanMenu(); diff --git a/module/tutorial/model.php b/module/tutorial/model.php index 9f5988d097..908ccb46b1 100644 --- a/module/tutorial/model.php +++ b/module/tutorial/model.php @@ -1933,6 +1933,7 @@ class tutorialModel extends model $release->branchName = 'Test branch'; $release->projectName = ''; $release->files = array(); + $release->releases = ''; return $release; }