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:
vgilc 2017-12-12 09:01:14 +01:00
commit 02378cbea2
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}