diff --git a/pandora_console/include/functions_treeview.php b/pandora_console/include/functions_treeview.php index 082e1ab5eb..5f98ed9df8 100755 --- a/pandora_console/include/functions_treeview.php +++ b/pandora_console/include/functions_treeview.php @@ -596,7 +596,7 @@ function treeview_printTable($id_agente, $server_data=[], $no_head=false) $hashdata = md5($hashdata); $url = $server_data['server_url'].'/index.php?'.'sec=estado&'.'sec2=operation/agentes/ver_agente&'.'id_agente='.$agent['id_agente'].'&'.'loginhash=auto&'."loginhash_data=$hashdata&".'loginhash_user='.str_rot13($user); - if ($grants_on_node) { + if ($grants_on_node && (bool) $user_access_node !== false) { $cellName .= ''.''.$agent['alias'].''; } else { $cellName .= ''.$agent['alias'].'';