mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Fixed Unkwon Icon in GIS
This commit is contained in:
parent
1949ee653b
commit
8b9c59a3b0
@ -573,14 +573,17 @@ function gis_get_agent_icon_map($idAgent, $state = false, $status = null) {
|
||||
switch ($status) {
|
||||
case 1:
|
||||
case 4:
|
||||
case 100:
|
||||
//Critical (BAD or ALERT)
|
||||
$state = ".bad";
|
||||
break;
|
||||
case 0:
|
||||
case 300:
|
||||
//Normal (OK)
|
||||
$state = ".ok";
|
||||
break;
|
||||
case 2:
|
||||
case 200:
|
||||
//Warning
|
||||
$state = ".warning";
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user