Merge branch 'ent-1687-no-mostrar-valor-de-modulos-keepalive-en-static-graphs-carrefour' into 'develop'
keepalive modules are boolean too (console function fix) See merge request artica/pandorafms!1170
This commit is contained in:
commit
02378cbea2
|
@ -998,6 +998,7 @@ function modules_is_string($id_agentmodule) {
|
|||
function modules_is_boolean_type ($id_type) {
|
||||
$type_name = modules_get_type_name($id_type);
|
||||
|
||||
if ($type_name === "keep_alive") return true;
|
||||
return (bool)preg_match('/_proc$/', $type_name);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue