From 8381753633da59fee6a238bbe1d83b09b9cec2ae Mon Sep 17 00:00:00 2001 From: chenfeiCF Date: Thu, 29 Oct 2015 15:15:10 +0800 Subject: [PATCH] * fix bug #754. --- module/task/control.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/task/control.php b/module/task/control.php index 28083b8dc1..0cf3bd7855 100644 --- a/module/task/control.php +++ b/module/task/control.php @@ -58,7 +58,6 @@ class task extends control $project = $this->project->getById($projectID); $taskLink = $this->createLink('project', 'browse', "projectID=$projectID&tab=task"); $storyLink = $this->session->storyList ? $this->session->storyList : $this->createLink('project', 'story', "projectID=$projectID"); - $this->view->users = $this->loadModel('user')->getPairs('nodeleted'); /* Set menu. */ $this->project->setMenu($this->project->getPairs(), $project->id); @@ -132,6 +131,7 @@ class task extends control } } + $users = $this->loadModel('user')->getPairs('nodeleted|noclosed'); $stories = $this->story->getProjectStoryPairs($projectID); $members = $this->project->getTeamMemberPairs($projectID, 'nodeleted'); $contactLists = $this->user->getContactLists($this->app->user->account, 'withnote'); @@ -146,6 +146,7 @@ class task extends control $this->view->position = $position; $this->view->project = $project; $this->view->task = $task; + $this->view->users = $users; $this->view->stories = $stories; $this->view->members = $members; $this->view->contactLists = $contactLists;