diff --git a/pandora_console/include/functions_graph.php b/pandora_console/include/functions_graph.php index bf09416cba..bbbeb07e80 100644 --- a/pandora_console/include/functions_graph.php +++ b/pandora_console/include/functions_graph.php @@ -1507,7 +1507,9 @@ function graphic_combined_module( } } - $agent_module_id = $agent_module_id['module']; + if (is_array($agent_module_id)) { + $agent_module_id = $agent_module_id['module']; + } $module_data = db_get_row_sql( 'SELECT * FROM tagente_modulo