* Merge #943bef399c, Fix bug #35077.

This commit is contained in:
tanghucheng
2023-11-07 01:54:37 -05:00
parent 0eb0e8dc96
commit 02cf587635
+7
View File
@@ -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));