From 14f82baf7e1ae370759b5be2f60215f858b89039 Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Wed, 19 Oct 2022 13:57:00 +0800 Subject: [PATCH] * Fix bug #28639. --- module/tree/control.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/tree/control.php b/module/tree/control.php index e874172f05..a1ee303e5a 100644 --- a/module/tree/control.php +++ b/module/tree/control.php @@ -45,11 +45,11 @@ class tree extends control $products = $this->product->getProducts($this->session->project, 'all', '', false); if($viewType == 'case') $this->lang->modulePageNav = $this->product->select($products, $rootID, 'tree', 'browse', 'case', $branch); } - else if($this->app->tab == 'feedback' or $this->app->tab == 'ticket') + else if($this->app->tab == 'feedback') { $products = $this->loadModel('feedback')->getGrantProducts(); if(!$rootID) $rootID = key($products); - $this->loadModel('feedback')->setMenu($rootID); + $this->loadModel('feedback')->setMenu($rootID, $viewType, $viewType); } /* According to the type, set the module root and modules. */