This commit is contained in:
z
2020-08-20 16:15:14 +08:00
parent 1635ea0361
commit d5c8ab35c5
+3 -1
View File
@@ -657,9 +657,11 @@ class storyModel extends model
if(isset($story->closedReason) and $story->closedReason == 'done') $this->loadModel('score')->create('story', 'close');
/* Fix bug #3153. */
if($oldStory->plan != $story->plan and (empty($oldStory->plan) or empty($story->plan))) $this->setStage($storyID);
unset($oldStory->parent);
unset($story->parent);
$this->setStage($storyID);
return common::createChanges($oldStory, $story);
}
}