Merge branch 'ent-11250-wmi-wizard-no-funciona' into 'develop'

Ent 11250 wmi wizard no funciona

See merge request artica/pandorafms!5965
This commit is contained in:
Rafael Ameijeiras 2023-05-30 13:32:26 +00:00
commit b9a53c71c8
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ class AgentWizard extends HTML
$this->wizardSection = get_parameter('wizard_section', 'snmp_explorer');
$this->idAgent = get_parameter('id_agente', '');
$this->idPolicy = get_parameter('id', '');
$this->targetIp = get_parameter('targetIp', '');
$this->targetIp = io_safe_input(trim(io_safe_output(get_parameter('targetIp', ''))));
$this->wmiBinary = $config['wmiBinary'];
$this->defaultSNMPValues = (array) json_decode(io_safe_output($config['agent_wizard_defaults']));