From 8d2d7a4bf7371959eba135dd5d895693c6efed56 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Wed, 12 Sep 2012 15:13:46 +0000 Subject: [PATCH] 2012-09-12 Sergio Martin * godmode/agentes/module_manager_editor_plugin.php godmode/agentes/configurar_agente.php: Fixed two notices in the module creation git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6964 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ pandora_console/godmode/agentes/configurar_agente.php | 1 + .../godmode/agentes/module_manager_editor_plugin.php | 2 ++ 3 files changed, 9 insertions(+) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 0827f30d44..1d70357d86 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2012-09-12 Sergio Martin + + * godmode/agentes/module_manager_editor_plugin.php + godmode/agentes/configurar_agente.php: Fixed two notices + in the module creation + 2012-09-12 Vanessa Gil * extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql, diff --git a/pandora_console/godmode/agentes/configurar_agente.php b/pandora_console/godmode/agentes/configurar_agente.php index 776d479f13..b248e226de 100644 --- a/pandora_console/godmode/agentes/configurar_agente.php +++ b/pandora_console/godmode/agentes/configurar_agente.php @@ -693,6 +693,7 @@ if ($update_module || $create_module) { $tcp_port = (int) get_parameter ('tcp_port'); $configuration_data = (string) get_parameter ('configuration_data'); $old_configuration_data = (string) get_parameter ('old_configuration_data'); + $new_configuration_data = ''; $custom_string_1 = (string) get_parameter ('custom_string_1'); $custom_string_2 = (string) get_parameter ('custom_string_2'); diff --git a/pandora_console/godmode/agentes/module_manager_editor_plugin.php b/pandora_console/godmode/agentes/module_manager_editor_plugin.php index 59ff435ab3..fa771bd602 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_plugin.php +++ b/pandora_console/godmode/agentes/module_manager_editor_plugin.php @@ -15,6 +15,8 @@ enterprise_include_once('include/functions_policies.php'); +global $module; + $macros = $module['macros']; $disabledBecauseInPolicy = false;