* Adjust code for task #79669.

This commit is contained in:
liuhong
2022-12-13 07:23:27 +00:00
parent 0e9304bff4
commit c215624d2a
+4 -1
View File
@@ -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'];