Re-fixed problems with agents name in visual consoles

This commit is contained in:
m-lopez-f 2017-02-20 14:38:58 +01:00
parent ca8ec686ac
commit 2c1e43a477
1 changed files with 1 additions and 2 deletions

View File

@ -123,8 +123,7 @@ function visual_map_print_item($mode = "read", $layoutData,
}
$agentname = agents_get_name(agents_get_module_id ($id_module));
$label = str_replace(ui_print_truncate_text($agentname,
'agent_small', false, true, false, '…', false), $agentname, $label);
$label = str_replace(ui_print_truncate_text($agentname, 'agent_small', false, true, false, '…', false), $agentname, $label);
$text = '<span id="text_' . $id . '" class="text">' . $label .'</span>';
if($height == 0){