From 967ccdd462aac8e5ec8bceec13cb70066e842fd7 Mon Sep 17 00:00:00 2001 From: songchenxuan Date: Fri, 10 Nov 2023 09:06:39 +0800 Subject: [PATCH] * Merge commit 1ca1c79fab. --- module/report/control.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/module/report/control.php b/module/report/control.php index 34327d947c..39f30c00dc 100644 --- a/module/report/control.php +++ b/module/report/control.php @@ -28,12 +28,6 @@ class report extends control public function __construct() { parent::__construct(); - - /* Set report menu group. */ - $this->projectID = isset($_GET['project']) ? $_GET['project'] : 0; - if(!$this->projectID) $this->lang->navGroup->report = 'report'; - - if($this->config->edition != 'open' && $this->lang->navGroup->report == 'report' && common::hasPriv('report', 'custom')) $this->lang->report->mainMenuAction = html::a(helper::createLink('report', 'custom'), $this->lang->crystal->custom, '', "class='btn btn-link'"); } /**