Merge branch '2816-Reports-de-custom-graphs-no-funcionan-si-le-ponemos-un-nombre-a-la-custom-graph' into 'develop'
fixed bug: reporting of custom graphs not showing graph when graph name is empty See merge request artica/pandorafms!1809
This commit is contained in:
commit
2fe350ed75
|
@ -6280,6 +6280,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