fixed keep alive bool type module 100

This commit is contained in:
daniel 2018-06-25 15:35:12 +02:00
parent 6be7881514
commit eaf5abd476
2 changed files with 5 additions and 2 deletions

View File

@ -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:

View File

@ -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,