From c215624d2a87293efc8ede7e86cfe3f8f040e4a1 Mon Sep 17 00:00:00 2001 From: liuhong Date: Tue, 13 Dec 2022 07:23:27 +0000 Subject: [PATCH] * Adjust code for task #79669. --- module/story/model.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/module/story/model.php b/module/story/model.php index e0accf4ddf..ed4980415b 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -4607,13 +4607,16 @@ class storyModel extends model { $isClick = $this->isClickable($story, 'batchcreate'); $title = $this->lang->story->subdivide; - $title = ($isClick or $story->status == 'closed') ? $title : $this->lang->story->subDivideTip['twinsSplit']; if(!$isClick and $story->status != 'closed') { if($story->parent > 0) { $title = $this->lang->story->subDivideTip['subStory']; } + elseif(!empty($story->twins)) + { + $title = $this->lang->story->subDivideTip['twinsSplit']; + } else { if($story->status != 'active') $title = $this->lang->story->subDivideTip['notActive'];