Fixed auto combined graph in metaconsole
Former-commit-id: c0e819e35fbb5952fa8ce2806e9cddff521a5131
This commit is contained in:
parent
042bf1c6e7
commit
e03b62d168
|
@ -6397,7 +6397,7 @@ function reporting_custom_graph($report, $content, $type = 'dinamic',
|
|||
$graphs[0]["fullscale"] = $content['style']['fullscale'];
|
||||
$modules = $content['id_agent_module'];
|
||||
|
||||
if(!$modules){
|
||||
if(!$modules || !is_array($modules)) {
|
||||
$module_source = db_get_all_rows_sql(
|
||||
"SELECT id_agent_module, id_server
|
||||
FROM tgraph_source
|
||||
|
|
Loading…
Reference in New Issue