diff --git a/module/issue/control.php b/module/issue/control.php index 5ae7b93010..1bbd04bf50 100644 --- a/module/issue/control.php +++ b/module/issue/control.php @@ -401,13 +401,9 @@ class issue extends control case 'totask': $this->loadModel('story'); - $project = $this->project->getById($projectID); - $members = $this->project->getTeamMemberPairs($projectID, 'nodeleted'); - $stories = $this->story->getProjectStoryPairs($projectID, 0, 0); - - $this->view->project = $project; - $this->view->members = $members; - $this->view->stories = $stories; + $this->view->project = $this->project->getById($projectID); + $this->view->members = $this->project->getTeamMemberPairs($projectID, 'nodeleted'); + $this->view->stories = $this->story->getProjectStoryPairs($projectID, 0, 0); $this->view->showFields = $this->config->task->custom->createFields; $this->display('issue', 'taskform'); diff --git a/module/issue/view/storyform.html.php b/module/issue/view/storyform.html.php index 7017ea736b..ecf3a226fc 100644 --- a/module/issue/view/storyform.html.php +++ b/module/issue/view/storyform.html.php @@ -48,7 +48,7 @@