* Adjust code for task #79669.
This commit is contained in:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user