diff --git a/pandora_console/include/functions_reporting_html.php b/pandora_console/include/functions_reporting_html.php index 2f66cc3221..52fd213915 100644 --- a/pandora_console/include/functions_reporting_html.php +++ b/pandora_console/include/functions_reporting_html.php @@ -2511,6 +2511,8 @@ function reporting_html_availability_graph(&$table, $item, $pdf=0) { } } } + + if($item['type'] == 'availability_graph'){ //table_legend_graphs; $table2 = new stdClass(); @@ -2547,6 +2549,8 @@ function reporting_html_availability_graph(&$table, $item, $pdf=0) { $table2->size[11] = '15%'; $table2->data[0][11] = ''.__('Ignore time'). ''; + } + $table->colspan['charts']['cell'] = 2; $table->data['charts']['cell'] = html_print_table($table1, true); $table->colspan['legend']['cell'] = 2;