Cast $idAgents to array to prevent PHP warning

This commit is contained in:
KIKUCHI Koichiro 2018-03-02 17:33:19 +09:00
parent 022eddf43f
commit a63a107f10
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ if (is_ajax ()) {
}
if ($get_agent_modules_json_for_multiple_agents) {
$idAgents = get_parameter('id_agent');
$idAgents = (array) get_parameter('id_agent');
$tags = get_parameter('tags', null);
$module_types_excluded = get_parameter('module_types_excluded', array());
$module_name = (string) get_parameter('name');