* Finish task #41735.

This commit is contained in:
tianshujie98
2021-08-23 16:04:37 +08:00
parent 38cd58107e
commit a072ee2b7f
6 changed files with 11 additions and 0 deletions
+6
View File
@@ -1650,6 +1650,12 @@ class taskModel extends model
return false;
}
if($this->post->realStarted > $this->post->finishedDate)
{
dao::$errors[] = $this->lang->task->error->finishedDateSmall;
return false;
}
/* Record consumed and left. */
if(empty($oldTask->team))
{