From a92c3c7ca393fa516342732118a0ceb156ddf57f Mon Sep 17 00:00:00 2001 From: alejandro-campos Date: Wed, 26 Aug 2020 11:47:54 +0200 Subject: [PATCH] fix bug in combined graphs --- pandora_console/include/functions_graph.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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