* code for task #49372.

This commit is contained in:
王怡栋
2022-02-22 16:28:43 +08:00
parent 23a5acab55
commit 39fad91f7e
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -2497,7 +2497,7 @@ class taskModel extends model
$this->dao->update(TABLE_TASK)->data($data)->where('id')->eq($task->id)->exec();
if($task->parent > 0) $this->updateParentStatus($task->id);
if($task->story) $this->loadModel('story')->setStage($oldTask->story);
if($task->story) $this->loadModel('story')->setStage($task->story);
$oldTask = new stdClass();
$oldTask->consumed = $task->consumed;