diff --git a/pandora_console/include/class/AgentWizard.class.php b/pandora_console/include/class/AgentWizard.class.php index be0fe49231..389bce8c49 100644 --- a/pandora_console/include/class/AgentWizard.class.php +++ b/pandora_console/include/class/AgentWizard.class.php @@ -1659,6 +1659,14 @@ class AgentWizard extends HTML $k = $matches[1].'_'.$matches[2].'-'.$matches[3]; } } else { + if (preg_match('/module-id_plugin/', $k) > 0) { + $result[$value]['id_plugin'] = $data['module-id_plugin-'.$key]; + } + + if (preg_match('/module-id_modulo/', $k) > 0) { + $result[$value]['id_modulo'] = $data['module-id_modulo-'.$key]; + } + if (preg_match('/module-value/', $k) > 0 && empty($data[$k]) === false ) {