From e80390a8f2422ef2d85154e6e46feff38ec616fd Mon Sep 17 00:00:00 2001 From: mayue Date: Thu, 17 Feb 2022 09:35:33 +0800 Subject: [PATCH] * Fix bug #11007. --- module/story/model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/story/model.php b/module/story/model.php index b5a9453a7a..3eb9a9568c 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -1522,9 +1522,9 @@ class storyModel extends model ->checkIF($story->closedReason == 'duplicate', 'duplicateStory', 'notempty') ->where('id')->eq($storyID)->exec(); - /* Update parent story status. */ + /* Update parent story status and stage. */ if($oldStory->parent > 0) $this->updateParentStatus($storyID, $oldStory->parent); - $this->setStage($storyID); + $this->setStage($oldStory->parent); if(!dao::isError()) $this->loadModel('score')->create('story', 'close', $storyID); return common::createChanges($oldStory, $story); }