* Fix task assignedTo when closed.

This commit is contained in:
Yagami
2020-07-27 09:42:56 +08:00
parent 5a3216dbf4
commit 049d27f689
+1
View File
@@ -367,6 +367,7 @@ class task extends control
if(isset($tasks[$taskID])) unset($tasks[$taskID]);
if(!isset($this->view->members[$this->view->task->assignedTo])) $this->view->members[$this->view->task->assignedTo] = $this->view->task->assignedTo;
if($this->view->task->status == 'closed' && !isset($this->view->members['closed'])) $this->view->members += array('closed' => 'closed');
$this->view->title = $this->lang->task->edit . 'TASK' . $this->lang->colon . $this->view->task->name;
$this->view->position[] = $this->lang->task->common;
$this->view->position[] = $this->lang->task->edit;