From c3867e623bb3f9f5c45f8cfa4d3c45eeea713cdb Mon Sep 17 00:00:00 2001 From: Jonathan Date: Wed, 24 Apr 2024 15:18:57 +0200 Subject: [PATCH] #13591 no dashboarid enabled --- pandora_console/operation/dashboard/public_dashboard.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pandora_console/operation/dashboard/public_dashboard.php b/pandora_console/operation/dashboard/public_dashboard.php index 7ef9f07d4a..b53c4b80b8 100644 --- a/pandora_console/operation/dashboard/public_dashboard.php +++ b/pandora_console/operation/dashboard/public_dashboard.php @@ -38,6 +38,13 @@ ob_start(); // Fullscreen by default. $config['pure'] = get_parameter('pure', 1); +$dashboardId = get_parameter('dashboardId', null); +if ($dashboardId !== null) { + include 'general/noaccess.php'; + return; +} + + require_once 'dashboard.php'; // Clean session to avoid direct access.