Fixed error with array colors in histogram. Tiquet: #2402

This commit is contained in:
m-lopez-f 2015-07-08 09:15:49 +02:00
parent 8b6d8e1cd2
commit 869069476f
1 changed files with 2 additions and 2 deletions

View File

@ -2768,8 +2768,8 @@ function reporting_get_event_histogram ($events) {
$colors = array(
EVENT_CRIT_MAINTENANCE => COL_MAINTENANCE,
EVENT_CRIT_INFORMATIONAL => COL_INFORMATIONAL,
EVENT_CRIT_NORMAL => COL_MINOR,
EVENT_CRIT_MINOR => COL_NORMAL,
EVENT_CRIT_NORMAL => COL_NORMAL,
EVENT_CRIT_MINOR => COL_MINOR,
EVENT_CRIT_WARNING => COL_WARNING,
EVENT_CRIT_MAJOR => COL_MAJOR,
EVENT_CRIT_CRITICAL => COL_CRITICAL