From daed2afae748dc680478757c4e6df5064c4dd85c Mon Sep 17 00:00:00 2001 From: zhujinyong Date: Mon, 3 Dec 2012 02:46:58 +0000 Subject: [PATCH] * fix a bug #378. --- module/story/model.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/module/story/model.php b/module/story/model.php index 877c9c802a..c32b774f92 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -342,7 +342,11 @@ class storyModel extends model ->checkIF(isset($story->closedReason) and $story->closedReason == 'subdivided', 'childStories', 'notempty') ->where('id')->eq((int)$storyID)->exec(); - if(!dao::isError()) return common::createChanges($oldStory, $story); + if(!dao::isError()) + { + $this->setStage($storyID); + return common::createChanges($oldStory, $story); + } } /**