From 54803de45d92f6bd9ea268e8b8ef6c595fb48265 Mon Sep 17 00:00:00 2001 From: fermin831 Date: Mon, 13 Aug 2018 16:43:01 +0200 Subject: [PATCH] Added missing enterprise_hook in get cps --- .../godmode/agentes/module_manager_editor_common.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora_console/godmode/agentes/module_manager_editor_common.php b/pandora_console/godmode/agentes/module_manager_editor_common.php index 8d6541bfd4..61a5a23d32 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_common.php +++ b/pandora_console/godmode/agentes/module_manager_editor_common.php @@ -586,7 +586,8 @@ if($cps_module > 0){ else{ $cps_inc = 0; if($id_agent_module){ - $cps_inc = service_modules_cps($id_agent_module); + $cps_inc = enterprise_hook('service_modules_cps', array($id_agent_module)); + if ($cps_inc === ENTERPRISE_NOT_HOOK) $cps_inc = 0; } $cps_array[$cps_inc] = __('Enabled'); }