* finish task #3680.

This commit is contained in:
wangyidong
2018-03-14 09:58:24 +08:00
parent 5e6d6aefe7
commit e5981e9643
+1
View File
@@ -1102,6 +1102,7 @@ class taskModel extends model
->get();
$this->dao->update(TABLE_TASK)->data($task)->autoCheck()->where('id')->eq((int)$taskID)->exec();
$this->updateParentStatus($oldTask->parent);
$this->computeWorkingHours($oldTask->parent);
if($oldTask->story) $this->loadModel('story')->setStage($oldTask->story);
if(!dao::isError()) return common::createChanges($oldTask, $task);