* Fix bug. Restart assigned to problem.
This commit is contained in:
@@ -977,6 +977,8 @@ class task extends control
|
||||
{
|
||||
$this->commonAction($taskID);
|
||||
|
||||
$task = $this->task->getById($taskID);
|
||||
|
||||
if(!empty($_POST))
|
||||
{
|
||||
$this->loadModel('action');
|
||||
@@ -998,7 +1000,10 @@ class task extends control
|
||||
|
||||
$this->view->title = $this->view->project->name . $this->lang->colon .$this->lang->task->restart;
|
||||
$this->view->position[] = $this->lang->task->restart;
|
||||
|
||||
$this->view->users = $this->loadModel('user')->getPairs('noletter');
|
||||
$this->view->members = $this->loadModel('project')->getTeamMemberPairs($task->project, 'nodeleted');
|
||||
$this->view->assignedTo = $task->assignedTo == '' ? $this->app->user->account : $task->assignedTo;
|
||||
$this->display();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user