mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
fixed keep alive bool type module 100
This commit is contained in:
parent
6be7881514
commit
eaf5abd476
@ -3093,7 +3093,7 @@ function series_type_graph_array($data, $show_elements_graph){
|
|||||||
elseif(strpos($key, 'sum') !== false || strpos($key, 'baseline') !== false){
|
elseif(strpos($key, 'sum') !== false || strpos($key, 'baseline') !== false){
|
||||||
switch ($value['id_module_type']) {
|
switch ($value['id_module_type']) {
|
||||||
case 21: case 2: case 6:
|
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';
|
$data_return['series_type'][$key] = 'boolean';
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -273,8 +273,11 @@ function grafico_modulo_sparse_data_chart (
|
|||||||
else{
|
else{
|
||||||
if($data_module_graph['id_module_type'] == 2 ||
|
if($data_module_graph['id_module_type'] == 2 ||
|
||||||
$data_module_graph['id_module_type'] == 6 ||
|
$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'] == 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 (
|
$data = db_get_all_rows_filter (
|
||||||
'tagente_datos',
|
'tagente_datos',
|
||||||
array ('id_agente_modulo' => (int)$agent_module_id,
|
array ('id_agente_modulo' => (int)$agent_module_id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user