mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
keepalive modules are boolean too (console function fix)
This commit is contained in:
parent
6b76392a60
commit
84ff86fede
@ -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