From 1d6ffcd6b4506138e93ff8e8a98b40cb23dd22c2 Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Mon, 21 Jun 2021 14:49:16 +0800 Subject: [PATCH] * Fix bug #13170. --- module/story/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/story/control.php b/module/story/control.php index 0d13439ef8..1337a10333 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -2011,7 +2011,7 @@ class story extends control } $story->plan = $plans; } - if(isset($relatedStories[$story->duplicateStory])) $story->duplicateStory = $relatedStories[$story->duplicateStory]; + if(isset($relatedStories[$story->duplicateStory]) and $story->closedReason != 'duplicate') $story->duplicateStory = $relatedStories[$story->duplicateStory]; if(isset($storyLang->priList[$story->pri])) $story->pri = $storyLang->priList[$story->pri]; if(isset($storyLang->statusList[$story->status])) $story->status = $this->processStatus('story', $story);