Fixed agent status in visual map 2

Former-commit-id: 3294be4d9d8f66edd477486a50130920144d40f7
This commit is contained in:
Daniel Maya 2019-01-29 14:44:56 +01:00
parent 2fc1e9715c
commit fad670f322
1 changed files with 1 additions and 1 deletions

View File

@ -3550,7 +3550,7 @@ function visual_map_get_user_layouts ($id_user = 0, $only_names = false, $filter
function visual_map_translate_agent_status ($agent_status) {
switch ($agent_status) {
case AGENT_STATUS_NORMAL:
AGENT_MODULE_STATUS_NORMAL_ALERT:
case AGENT_MODULE_STATUS_NORMAL_ALERT:
default:
return VISUAL_MAP_STATUS_NORMAL;
case AGENT_STATUS_CRITICAL: