* fix bug when update story.

This commit is contained in:
wangyidong
2013-03-05 03:39:16 +00:00
parent d9b6f2284f
commit 1a636dfe7c

View File

@@ -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);
}
/**