* Finish task#8211.

This commit is contained in:
qiyu-xie
2020-11-06 09:28:53 +08:00
parent 838a05196d
commit a8d9f1d796
+1 -1
View File
@@ -972,7 +972,7 @@ class storyModel extends model
if($oldStory->plan != $story->plan) $this->updateStoryOrderOfPlan($storyID, $story->plan, $oldStory->plan);
$this->executeHooks($storyID);
$this->setStage($storyID);
$this->batchChangeStage(array($storyID), $story->stage);
if($story->closedReason == 'done') $this->loadModel('score')->create('story', 'close');
$allChanges[$storyID] = common::createChanges($oldStory, $story);
}