From eaf5abd4760e695645fe832e66f799039cdfb4c7 Mon Sep 17 00:00:00 2001 From: daniel Date: Mon, 25 Jun 2018 15:35:12 +0200 Subject: [PATCH] fixed keep alive bool type module 100 --- pandora_console/include/functions.php | 2 +- pandora_console/include/functions_graph.php | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/functions.php b/pandora_console/include/functions.php index 854d7ef9cf..726fd5244f 100644 --- a/pandora_console/include/functions.php +++ b/pandora_console/include/functions.php @@ -3093,7 +3093,7 @@ function series_type_graph_array($data, $show_elements_graph){ elseif(strpos($key, 'sum') !== false || strpos($key, 'baseline') !== false){ switch ($value['id_module_type']) { case 21: case 2: case 6: - case 18: case 9: case 31: + case 18: case 9: case 31: case 100: $data_return['series_type'][$key] = 'boolean'; break; default: diff --git a/pandora_console/include/functions_graph.php b/pandora_console/include/functions_graph.php index 40e5a2b658..ea3b0c8a56 100644 --- a/pandora_console/include/functions_graph.php +++ b/pandora_console/include/functions_graph.php @@ -273,8 +273,11 @@ function grafico_modulo_sparse_data_chart ( else{ if($data_module_graph['id_module_type'] == 2 || $data_module_graph['id_module_type'] == 6 || + $data_module_graph['id_module_type'] == 21 || $data_module_graph['id_module_type'] == 18 || - $data_module_graph['id_module_type'] == 9){ + $data_module_graph['id_module_type'] == 9 || + $data_module_graph['id_module_type'] == 31 || + $data_module_graph['id_module_type'] == 100){ $data = db_get_all_rows_filter ( 'tagente_datos', array ('id_agente_modulo' => (int)$agent_module_id,