#11318 fixed error 500

This commit is contained in:
Daniel Cebrian 2023-05-22 19:33:25 +02:00
parent 451bc20330
commit 303b910527
1 changed files with 3 additions and 2 deletions

View File

@ -518,8 +518,9 @@ foreach ($items as $item) {
}
$agent_name_db = implode('<br>', $agent_name_db);
$module_name_db = implode('<br>', $modules);
if (is_array($modules) === true) {
$module_name_db = implode('<br>', $modules);
}
} else {
$agent_id = agents_get_agent_id_by_module_id($item['id_agent_module']);
$agent_name = agents_get_name($agent_id);