From 561150bc097337b45af29d7efd4ddee96d8cf556 Mon Sep 17 00:00:00 2001 From: Luis Calvo Date: Tue, 7 Apr 2020 13:42:44 +0200 Subject: [PATCH] Metaconsole const replaced by function on visual map --- pandora_console/include/functions_visual_map.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/functions_visual_map.php b/pandora_console/include/functions_visual_map.php index 0cc7d1f8ac..2cddd5d8c0 100755 --- a/pandora_console/include/functions_visual_map.php +++ b/pandora_console/include/functions_visual_map.php @@ -564,13 +564,13 @@ function visual_map_print_item( } if ($is_a_link_to_other_visualconsole) { - if (METACONSOLE == 1) { + if (is_metaconsole() === true) { $url = $config['homeurl'].'index.php?sec=screen&sec2=screens/screens&action=visualmap&pure=0&id_visualmap='.$layoutData['id_layout_linked'].'&refr=300'; } else { $url = $config['homeurl'].'index.php?sec=network&sec2=operation/visual_console/render_view&pure='.$config['pure'].'&id='.$layoutData['id_layout_linked']; } } else { - if (METACONSOLE == 1) { + if (is_metaconsole() === true) { $url = $config['homeurl'].'index.php?sec=estado&sec2=operation/agentes/status_monitor&refr=0&ag_group='.$layoutData['id_group'].'&ag_freestring=&module_option=1&ag_modulename=&moduletype=&datatype=&status=-1&sort_field=&sort=none&pure='; } else { $url = $config['homeurl'].'index.php?sec=estado&sec2=operation/agentes/estado_agente&group_id='.$layoutData['id_group'];