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 {
|
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'];
|
||||||
|
|
Loading…
Reference in New Issue