fixed bug: reporting of custom graphs not showing graph when graph name is empty

This commit is contained in:
alejandro-campos 2018-09-25 17:33:29 +02:00
parent c2b5133ff2
commit 24de9d9119
1 changed files with 5 additions and 0 deletions

View File

@ -6246,6 +6246,11 @@ function reporting_custom_graph($report, $content, $type = 'dinamic',
else { else {
$content['name'] = __('Simple graph'); $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']; $return['title'] = $content['name'];