From f11888c5f2132105ec47ef702291bcaeb2caf64a Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Tue, 5 Sep 2023 00:53:41 +0000 Subject: [PATCH] * Fix bug #38092. --- module/story/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/story/model.php b/module/story/model.php index 9ebd828596..3e4ee1a020 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -6771,7 +6771,7 @@ class storyModel extends model foreach($stories as $story) { $menuType = 'browse'; - if(($tab == 'execution' || ($tab == 'project' and $this->session->multiple)) && $storyType == 'story') $menuType = 'execution'; + if(($tab == 'execution' || ($tab == 'project' and !$this->session->multiple)) && $storyType == 'story') $menuType = 'execution'; if(!empty($branchOptions)) $branches = zget($branchOptions, $story->product, array()); $story->estimateNum = $story->estimate;;