diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 4cc8315b0b..8377a889d9 100755 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -6246,6 +6246,11 @@ function reporting_custom_graph($report, $content, $type = 'dinamic', else { $content['name'] = __('Simple graph'); } + } else { + if ($type_report == "custom_graph") { + $graphs = db_get_all_rows_field_filter ("tgraph", "id_graph", $content['id_gs']); + $id_graph = $content['id_gs']; + } } $return['title'] = $content['name'];