From dfab00affad1452c7378ca8e9d047e99a566941a Mon Sep 17 00:00:00 2001 From: xia0ta0 Date: Sat, 26 Oct 2013 06:30:35 +0800 Subject: [PATCH] * change stage of story, if the task is estimated. --- module/task/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/task/model.php b/module/task/model.php index 9e79d6e857..2b37ebcbaf 100644 --- a/module/task/model.php +++ b/module/task/model.php @@ -502,6 +502,7 @@ class taskModel extends model $changes = common::createChanges($oldTask, $newTask); $this->action->logHistory($actionID, $changes); + if($task->story) $this->loadModel('story')->setStage($task->story); } /**