Changed generation method in agent_modules image. Ticket #376

This commit is contained in:
Arturo Gonzalez 2017-03-06 11:50:38 +01:00
parent 7b97b30cfa
commit 49204b6864
1 changed files with 2 additions and 7 deletions

View File

@ -1360,13 +1360,8 @@ function reporting_html_agent_module($table, $item) {
$textcolor = '#FFF';
break;
}
/*
$file_name = string2image(
ui_print_truncate_text($row['agent_name'], 'agent_small',
false, true, false, '...'),
false, false, 6, 0, $rowcolor, $textcolor, 4, 0);
*/
$file_name = ui_print_truncate_text($row['agent_name'], 'agent_small',
$file_name = ui_print_truncate_text($row['agent_alias'], 'agent_small',
false, true, false, '...');
$table_data .= "<td style='background-color: " . $rowcolor . ";'>" .
$file_name . "</td>";