From 4e67efa330a8e3fd7e5d0fd025977769c1d065de Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Thu, 17 Sep 2020 08:23:11 +0800 Subject: [PATCH] * Add notes. --- module/task/control.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/task/control.php b/module/task/control.php index 293bf51d57..0a7890d622 100644 --- a/module/task/control.php +++ b/module/task/control.php @@ -177,6 +177,8 @@ class task extends control $members = $this->project->getTeamMemberPairs($projectID, 'nodeleted'); $showAllModule = isset($this->config->project->task->allModule) ? $this->config->project->task->allModule : ''; $moduleOptionMenu = $this->tree->getTaskOptionMenu($projectID, 0, 0, $showAllModule ? 'allModule' : ''); + + /* Fix bug #3381. When the story module is the root module. */ if($storyID) { $task->module = $this->dao->findByID($storyID)->from(TABLE_STORY)->fetch('module');