* add project field for create task.

This commit is contained in:
wangyidong
2018-12-20 17:16:50 +08:00
parent 6af2460b0b
commit 5ebceea09a
4 changed files with 75 additions and 1 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ class taskModel extends model
$taskFiles = array();
$this->loadModel('file');
$task = fixer::input('post')
->add('project', (int)$projectID)
->setDefault('project', (int)$projectID)
->setDefault('estimate, left, story', 0)
->setDefault('status', 'wait')
->setIF($this->post->estimate != false, 'left', $this->post->estimate)