From 1a636dfe7c4f91cb2d9f7646520a4870d94e8651 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 5 Mar 2013 03:39:16 +0000 Subject: [PATCH] * fix bug when update story. --- module/story/model.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/module/story/model.php b/module/story/model.php index 799dba78d0..0e66c7efd8 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -344,11 +344,7 @@ class storyModel extends model ->checkIF(isset($story->closedReason) and $story->closedReason == 'subdivided', 'childStories', 'notempty') ->where('id')->eq((int)$storyID)->exec(); - if(!dao::isError()) - { - $this->setStage($storyID); - return common::createChanges($oldStory, $story); - } + if(!dao::isError()) return common::createChanges($oldStory, $story); } /**