Fix reports made by wizard - #2098

This commit is contained in:
enriquecd 2018-03-28 18:54:15 +02:00
parent 94936a46e9
commit 5418bbd099
1 changed files with 1 additions and 2 deletions

View File

@ -352,9 +352,8 @@ foreach ($items as $item) {
$row[1] = get_report_name($item['type']);
$custom_graph_name = db_get_row_sql('select name from tgraph where id_graph = '.$item['id_gs']);
if($item['type'] == 'custom_graph'){
$custom_graph_name = db_get_row_sql('select name from tgraph where id_graph = '.$item['id_gs']);
$row[1] = get_report_name($item['type']).' ('.$custom_graph_name['name'].')';
}