From 6c305205bac4103bdad1b697e41898b91f3d99fc Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Wed, 27 Jul 2011 17:05:14 +0000 Subject: [PATCH] 2011-07-27 Sergio Martin * godmode/agentes/configurar_agente.php: Fixed bad parameters on enterprise_hook git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4639 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/godmode/agentes/configurar_agente.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index e9f8749eb5..5ae9f298cb 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2011-07-27 Sergio Martin + + * godmode/agentes/configurar_agente.php: Fixed bad parameters + on enterprise_hook + 2011-07-27 Ramon Novoa * include/functions_servers.php: Added information for the new diff --git a/pandora_console/godmode/agentes/configurar_agente.php b/pandora_console/godmode/agentes/configurar_agente.php index 4afd90fb88..6dee8edc0a 100644 --- a/pandora_console/godmode/agentes/configurar_agente.php +++ b/pandora_console/godmode/agentes/configurar_agente.php @@ -655,7 +655,7 @@ if ($update_module || $create_module) { if($prediction_module < 3) { unset($serialize_ops); - enterprise_hook('modules_delete_synthetic_operations', ($id_agent_module)); + enterprise_hook('modules_delete_synthetic_operations', array($id_agent_module)); } $active_snmp_v3 = get_parameter('active_snmp_v3');