From 84ff86fedef6a56c06fc5b912127c662913073a2 Mon Sep 17 00:00:00 2001 From: fermin831 Date: Mon, 11 Dec 2017 15:47:38 +0100 Subject: [PATCH] keepalive modules are boolean too (console function fix) --- pandora_console/include/functions_modules.php | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora_console/include/functions_modules.php b/pandora_console/include/functions_modules.php index e46334dbef..257eb6d62b 100755 --- a/pandora_console/include/functions_modules.php +++ b/pandora_console/include/functions_modules.php @@ -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); }