From 2d3f0d3dcb8aefde96177dd9648bfce15f10c673 Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Tue, 21 Mar 2023 10:59:07 +0800 Subject: [PATCH] * Code for bug #33141. --- module/execution/control.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/module/execution/control.php b/module/execution/control.php index b693088674..98455704c8 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -953,6 +953,8 @@ class execution extends control break; } } + $summary = $this->product->summary($stories); + if($storyType == 'requirement') $summary = str_replace($this->lang->SRCommon, $this->lang->URCommon, $summary); /* Assign. */ $this->view->title = $title; @@ -962,7 +964,7 @@ class execution extends control $this->view->stories = $stories; $this->view->linkedTaskStories = $this->story->getIdListWithTask($executionID); $this->view->allPlans = $allPlans; - $this->view->summary = $this->product->summary($stories); + $this->view->summary = $summary; $this->view->orderBy = $orderBy; $this->view->storyType = $storyType; $this->view->type = $this->session->executionStoryBrowseType;