* fix bug.

This commit is contained in:
wangyidong
2018-09-12 11:31:11 +08:00
parent 4eccc84fbf
commit 87b9ed502a
2 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -256,7 +256,7 @@ class taskModel extends model
if(dao::isError()) die(js::error(dao::getError()));
$taskID = $this->dao->lastInsertID();
if($story) $this->story->setStage($tasks->story[$i]);
if($story) $this->story->setStage($task->story);
$actionID = $this->action->create('task', $taskID, 'Opened', '');
if(!dao::isError()) $this->loadModel('score')->create('task', 'create', $taskID);