From 2b82314b520e7ca383c08b3bdff9a9a0678e342c Mon Sep 17 00:00:00 2001 From: tianshujie Date: Wed, 15 Feb 2023 10:08:15 +0800 Subject: [PATCH] * Fix bug #32145. --- module/execution/control.php | 2 +- module/tutorial/model.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/module/execution/control.php b/module/execution/control.php index 3fae2ef99a..520d44e437 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -2697,7 +2697,7 @@ class execution extends control $userList['closed']->avatar = ''; $projectID = $execution->project; - $project = $this->dao->findByID($projectID)->from(TABLE_PROJECT)->fetch(); + $project = $this->project->getByID($projectID); $hiddenPlan = $project->model !== 'scrum'; $this->view->title = $this->lang->execution->kanban; diff --git a/module/tutorial/model.php b/module/tutorial/model.php index 715436540f..b59756b8d3 100644 --- a/module/tutorial/model.php +++ b/module/tutorial/model.php @@ -356,6 +356,8 @@ class tutorialModel extends model $execution->burns = array(35, 35); $execution->hasProduct = '1'; $execution->multiple = ''; + $execution->colWidth = '200'; + return $execution; }