Added io_safe_output to custom graphs name - #4664

This commit is contained in:
Tatiana Llorente 2019-10-02 10:59:40 +02:00
parent 8e204605e5
commit 380ce879ef
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ $table_aux = new stdClass();
$data[5] .= html_print_checkbox_extended('delete_multiple[]', $graph['id_graph'], false, false, '', 'class="check_delete" style="margin-left:2px;"', true);
}
$data[0] = '<a href="index.php?sec=reporting&sec2=operation/reporting/graph_viewer&view_graph=1&id='.$graph['id_graph'].'">'.ui_print_truncate_text($graph['name'], 70).'</a>';
$data[0] = '<a href="index.php?sec=reporting&sec2=operation/reporting/graph_viewer&view_graph=1&id='.$graph['id_graph'].'">'.ui_print_truncate_text(io_safe_output($graph['name']), 70).'</a>';
$data[1] = ui_print_truncate_text($graph['description'], 70);