diff --git a/pandora_console/operation/agentes/ver_agente.php b/pandora_console/operation/agentes/ver_agente.php index 632e5bc779..8e4d656811 100644 --- a/pandora_console/operation/agentes/ver_agente.php +++ b/pandora_console/operation/agentes/ver_agente.php @@ -1043,9 +1043,13 @@ if ($policyTab == -1) $policyTab = ""; /* UX Console */ -$ux_console_tab = enterprise_hook('ux_console_tab'); -if ($ux_console_tab == -1) - $ux_console_tab = ""; +enterprise_include_once('/include/functions_ux_console.php'); +$active_ux = get_ux_transactions($id_agente); +if(!empty($active_ux)){ + $ux_console_tab = enterprise_hook('ux_console_tab'); + if ($ux_console_tab == -1) + $ux_console_tab = ""; +} /* WUX Console */ $modules_wux = enterprise_hook('get_wux_modules' , array($id_agente));