Merge branch 'sprint/tianshujie_bug22489' into 'master'
* Fix bug #22489. See merge request easycorp/zentaopms!3409
This commit is contained in:
@@ -1591,7 +1591,11 @@ class storyModel extends model
|
||||
$this->updateParentStatus($storyID, $oldStory->parent);
|
||||
$this->setStage($oldStory->parent);
|
||||
}
|
||||
if(!dao::isError()) $this->loadModel('score')->create('story', 'close', $storyID);
|
||||
if(!dao::isError())
|
||||
{
|
||||
$this->setStage($storyID);
|
||||
$this->loadModel('score')->create('story', 'close', $storyID);
|
||||
}
|
||||
return common::createChanges($oldStory, $story);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user