From f829f1e59faeef577888e3bfd33d29c09d325f81 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Wed, 22 May 2024 16:27:19 +0800 Subject: [PATCH] * Fix bug #49961. --- module/story/zen.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/story/zen.php b/module/story/zen.php index aa95e86060..36ffc2d2d0 100644 --- a/module/story/zen.php +++ b/module/story/zen.php @@ -717,7 +717,7 @@ class storyZen extends story if(empty($branches)) unset($fields['branch']); if($this->view->hiddenPlan) unset($fields['plan']); - $hiddenGrade = !$this->story->showGrade($storyType); + $hiddenGrade = $this->config->edition != 'ipd'; if($hiddenGrade && $storyType == 'epic') $fields['parent']['hidden'] = true; $this->view->branchID = $branch; @@ -1042,7 +1042,7 @@ class storyZen extends story $fields['assignedTo']['options'] = $teamUsers; } - $hiddenGrade = !$this->story->showGrade($storyType); + $hiddenGrade = $this->config->edition != 'ipd'; if($hiddenGrade && $storyType == 'epic') $hiddenParent = true; $this->view->hiddenParent = $hiddenParent;