From 5e481ffe62b490593fe2b8ff8f7a173376cd0b92 Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Thu, 12 Oct 2023 22:44:52 -0400 Subject: [PATCH] * Fix bug #39522. --- module/execution/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/control.php b/module/execution/control.php index b0e52ee35e..a3d1e75d02 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -3425,7 +3425,7 @@ class execution extends control $object = $this->project->getByID($objectID, 'project,sprint,stage,kanban'); $products = $this->product->getProducts($objectID); $queryID = ($browseType == 'bySearch') ? (int)$param : 0; - $browseLink = $this->session->executionStoryList; + $browseLink = $this->session->executionStoryList ? $this->session->executionStoryList : $this->createLink('execution', 'story', "executionID=$objectID"); if($this->app->tab == 'project' and $object->multiple and !$browseLink) $browseLink = $this->createLink('projectstory', 'story', "objectID=$objectID&productID=0&branch=0&browseType=¶m=0&storyType=$storyType"); if($object->type == 'kanban' && !$object->hasProduct) $this->lang->productCommon = $this->lang->project->common;