From 42967862c83fac1891a518d1954243387c55a2f3 Mon Sep 17 00:00:00 2001 From: danielmaya Date: Mon, 8 Jan 2018 10:57:30 +0100 Subject: [PATCH] Fixed tag i in status monitor data --- pandora_console/operation/agentes/status_monitor.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pandora_console/operation/agentes/status_monitor.php b/pandora_console/operation/agentes/status_monitor.php index 480dc6b354..7e39fdc0f8 100644 --- a/pandora_console/operation/agentes/status_monitor.php +++ b/pandora_console/operation/agentes/status_monitor.php @@ -1336,7 +1336,15 @@ if (!empty($result)) { $salida = $data_macro; } else { $salida .= ' ' . '' . io_safe_output($row['unit']) . ''; - $salida = ui_print_truncate_text($salida, 'agent_small', true, true, false, '[…]', 'font-size:7.5pt;'); + if(strlen($salida) > $config['agent_size_text_small']) { + $salida = ui_print_truncate_text($salida, 'agent_small', true, true, false, '[…]', 'font-size:7.5pt;'); + //clean tag + $text_aux = explode('