* Finish task#8201: Add the assignedTo field for the start task page.

This commit is contained in:
hufangzhou
2020-11-03 16:49:03 +08:00
parent 3e591a2d60
commit a6e6f7a8a2
3 changed files with 13 additions and 5 deletions
+5 -3
View File
@@ -702,6 +702,8 @@ class task extends control
{
$this->commonAction($taskID);
$task = $this->task->getById($taskID);
if(!empty($_POST))
{
$this->loadModel('action');
@@ -715,11 +717,9 @@ class task extends control
$this->action->logHistory($actionID, $changes);
}
/* Remind whether to update status of the bug, if task which from that bug has been finished. */
$task = $this->task->getById($taskID);
$this->executeHooks($taskID);
/* Remind whether to update status of the bug, if task which from that bug has been finished. */
if($changes and $this->task->needUpdateBugStatus($task))
{
foreach($changes as $change)
@@ -740,6 +740,8 @@ class task extends control
$this->view->title = $this->view->project->name . $this->lang->colon .$this->lang->task->start;
$this->view->position[] = $this->lang->task->start;
$this->view->members = $this->loadModel('project')->getTeamMemberPairs($task->project, 'nodeleted');
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->display();
}