mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
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) {
|
function modules_is_boolean_type ($id_type) {
|
||||||
$type_name = modules_get_type_name($id_type);
|
$type_name = modules_get_type_name($id_type);
|
||||||
|
|
||||||
|
if ($type_name === "keep_alive") return true;
|
||||||
return (bool)preg_match('/_proc$/', $type_name);
|
return (bool)preg_match('/_proc$/', $type_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user