From 60f676a765b09dcbbd4299277f9c3e1e83fe2c93 Mon Sep 17 00:00:00 2001 From: liuhong Date: Wed, 14 Dec 2022 07:21:37 +0000 Subject: [PATCH] * Adjust code #79667. --- module/story/view/affected.html.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/module/story/view/affected.html.php b/module/story/view/affected.html.php index 64509dbbee..5babd9bce2 100644 --- a/module/story/view/affected.html.php +++ b/module/story/view/affected.html.php @@ -1,7 +1,6 @@ twins) ? count(explode( ',', trim($story->twins, ','))) + 1 : 0; $twinsClass = isonlybody() ? 'showinonlybody' : 'iframe'; $canViewLinkStory = common::hasPriv('story', 'view'); $lang->story->currentBranch = sprintf($this->lang->story->currentBranch, $this->lang->product->branchName[$product->type]); @@ -12,7 +11,7 @@ if(isset($twins))
  • story->affectedProjects;?> executions); if($count > 0) echo "" . $count . "" ?>
  • story->affectedBugs;?> bugs); if($count > 0) echo "" . $count . "" ?>
  • story->affectedCases;?> cases); if($count > 0) echo "" . $count . "" ?>
  • -
  • story->affectedTwins;?> 0) echo "" . $twinsCount . "" ?>
  • +
  • 1) echo $lang->story->affectedTwins;?> 1) echo "" . count($twins) . "" ?>
  • @@ -108,7 +107,7 @@ if(isset($twins))
    - +
    @@ -122,7 +121,7 @@ if(isset($twins)) - + branch]) ? $branches[$twin->branch] : '';
    story->lastEditedByAB;?>