From 02cf587635e22b787fc41310bb1585ba4bcc2c7c Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Tue, 7 Nov 2023 01:54:20 -0500 Subject: [PATCH] * Merge #943bef399c, Fix bug #35077. --- module/projectstory/control.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/module/projectstory/control.php b/module/projectstory/control.php index a92d8a7723..369271ac9b 100644 --- a/module/projectstory/control.php +++ b/module/projectstory/control.php @@ -48,6 +48,13 @@ class projectStory extends control /* Set product list for export. */ $this->session->set('exportProductList', $this->products); $this->session->set('executionStoryList', $this->app->getURI(true)); + $this->session->set('productList', $this->app->getURI(true)); + if($storyType == 'requirement') + { + unset($this->lang->projectstory->featureBar['story']['linkedExecution']); + unset($this->lang->projectstory->featureBar['story']['unlinkedExecution']); + $this->lang->projectstory->unlinkStory = str_replace($this->lang->SRCommon, $this->lang->URCommon, $this->lang->projectstory->unlinkStory); + } if(empty($this->products)) $this->locate($this->createLink('product', 'showErrorNone', 'moduleName=project&activeMenu=story&projectID=' . $projectID));