From 0f4d897eeda5583854b88fd39778395751c20a9a Mon Sep 17 00:00:00 2001 From: leiyong <1549684884@qq.com> Date: Tue, 23 Feb 2021 10:26:10 +0800 Subject: [PATCH] * Fix bug. --- module/report/control.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/report/control.php b/module/report/control.php index 5df7984b7b..4f560728cd 100644 --- a/module/report/control.php +++ b/module/report/control.php @@ -32,7 +32,8 @@ class report extends control unset($this->lang->noMenuModule[$index]); $this->lang->report->menu = $this->lang->report->projectMenu; } - if(isset($this->config->proVersion) &&$this->lang->navGroup->report == 'report') $this->lang->report->mainMenuAction = html::a(helper::createLink('report', 'custom'), $this->lang->crystal->custom, '', "class='btn btn-link'"); + + if((isset($this->config->proVersion) || isset($this->config->bizVersion)) && $this->lang->navGroup->report == 'report') $this->lang->report->mainMenuAction = html::a(helper::createLink('report', 'custom'), $this->lang->crystal->custom, '', "class='btn btn-link'"); } /**