diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 909bb75aef..9dde31bd2b 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2013-03-13 Miguel de Dios + + * include/functions_modules.php: fixed the notices PHP. + + Fixes: #3607807 + 2013-03-13 Miguel de Dios * include/functions_modules.php: fixed the massive deletion of diff --git a/pandora_console/include/functions_modules.php b/pandora_console/include/functions_modules.php index 997cb7f111..c10737bac5 100644 --- a/pandora_console/include/functions_modules.php +++ b/pandora_console/include/functions_modules.php @@ -134,11 +134,11 @@ function modules_copy_agent_module_to_agent ($id_agent_module, $id_destiny_agent if ($remote_conf) { $result = enterprise_hook('config_agents_copy_agent_module_to_agent', array($id_agent_module, $id_new_module)); + + if ($result === false) + return false; } - if ($result === false) - return false; - return $id_new_module; }