diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 400f25545c..20f8b67d02 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2013-08-28 Miguel de Dios + + * godmode/agentes/agent_manager.php: fixed the PHP warnings in the + call to enterprise function. + 2013-08-27 Miguel de Dios * pandoradb.postgreSQL.sql, pandoradb.oracle.sql, diff --git a/pandora_console/godmode/agentes/agent_manager.php b/pandora_console/godmode/agentes/agent_manager.php index 3e10f5b497..bbd75967fa 100644 --- a/pandora_console/godmode/agentes/agent_manager.php +++ b/pandora_console/godmode/agentes/agent_manager.php @@ -119,7 +119,9 @@ echo '
 
'; if (!$new_agent) { // Agent remote configuration editor enterprise_include_once('include/functions_config_agents.php'); - $filename = enterprise_hook('config_agents_get_agent_config_filenames', $id_agente); + if (enterprise_installed()) { + $filename = config_agents_get_agent_config_filenames($id_agente); + } } $disk_conf = (bool) get_parameter ('disk_conf');