From 562aebfb85a123bb7ddaa9dcdb93af886ac3c303 Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Thu, 25 May 2023 14:01:43 +0200 Subject: [PATCH] #11312 fixed url public in visual console --- .../javascript/pandora_visual_console.js | 4 ++-- .../operation/visual_console/public_view.php | 22 ++++++++++--------- .../operation/visual_console/view.php | 4 +++- 3 files changed, 17 insertions(+), 13 deletions(-) diff --git a/pandora_console/include/javascript/pandora_visual_console.js b/pandora_console/include/javascript/pandora_visual_console.js index 354934039c..0348306365 100755 --- a/pandora_console/include/javascript/pandora_visual_console.js +++ b/pandora_console/include/javascript/pandora_visual_console.js @@ -770,8 +770,8 @@ function loadVisualConsoleData( page: "include/rest-api/index", getVisualConsole: 1, visualConsoleId: vcId, - id_user: typeof id_user == undefined ? id_user : null, - auth_hash: typeof hash == undefined ? hash : null + id_user: typeof id_user !== undefined ? id_user : null, + auth_hash: typeof hash !== undefined ? hash : null }, "json" ) diff --git a/pandora_console/operation/visual_console/public_view.php b/pandora_console/operation/visual_console/public_view.php index ddf6811930..05a17ea851 100644 --- a/pandora_console/operation/visual_console/public_view.php +++ b/pandora_console/operation/visual_console/public_view.php @@ -61,6 +61,18 @@ echo '