* fix bug when update story.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user