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');