Added all string types - #4678

This commit is contained in:
Tatiana Llorente 2019-10-02 17:37:14 +02:00
parent 8e204605e5
commit 5a2ca8e65f
1 changed files with 1 additions and 1 deletions

View File

@ -4094,7 +4094,7 @@ sub on_demand_macro($$$$$$;$) {
my $unit_mod = get_db_value ($dbh, 'SELECT unit FROM tagente_modulo WHERE id_agente_modulo = ?', $id_mod);
my $field_value = "";
if ($type_mod eq 3){
if ($type_mod eq 3 || $type_mod eq 23|| $type_mod eq 17 || $type_mod eq 10 || $type_mod eq 33 ){
$field_value = get_db_value($dbh, 'SELECT datos FROM tagente_datos_string where id_agente_modulo = ? order by utimestamp desc limit 1', $id_mod);
}
else{