mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
fixed bug: reporting of custom graphs not showing graph when graph name is empty
This commit is contained in:
parent
c2b5133ff2
commit
24de9d9119
@ -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'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user