Merge branch 'ent-10719-wrong-macro-description-of-plugin-module-with-snmp-wizard' into 'develop'

Fixed encoding multibyte characters

See merge request artica/pandorafms!5611
This commit is contained in:
Diego Muñoz-Reja 2023-05-22 14:14:53 +00:00
commit 98344296aa
1 changed files with 2 additions and 2 deletions

View File

@ -2333,7 +2333,7 @@ class AgentWizard extends HTML
}
$tmp->id_plugin($infoMacros['server_plugin']);
$tmp->macros(json_encode($fieldsPlugin));
$tmp->macros(io_json_mb_encode($fieldsPlugin));
}
}
}
@ -2507,7 +2507,7 @@ class AgentWizard extends HTML
}
$tmp->id_plugin($infoMacros['server_plugin']);
$tmp->macros(json_encode($fieldsPlugin));
$tmp->macros(io_json_mb_encode($fieldsPlugin));
}
$tmp->ip_target(io_safe_input($this->targetIp));