* fix a bug #378.

This commit is contained in:
zhujinyong
2012-12-03 02:46:58 +00:00
parent ac8324d66e
commit daed2afae7
+5 -1
View File
@@ -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);
}
}
/**