* Finish task #6410.

This commit is contained in:
Yagami
2019-10-14 14:39:56 +08:00
parent 8286a06841
commit 31af090d1e
3 changed files with 7 additions and 0 deletions
+5
View File
@@ -22,6 +22,11 @@ class taskModel extends model
*/
public function create($projectID)
{
if($this->post->estimate < 0)
{
dao::$errors[] = $this->lang->task->error->estimateMinus;
return false;
}
$taskIdList = array();
$taskFiles = array();
$this->loadModel('file');