From 869069476ff912d983646fba16eb7988403c9804 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Wed, 8 Jul 2015 09:15:49 +0200 Subject: [PATCH] Fixed error with array colors in histogram. Tiquet: #2402 --- pandora_console/include/functions_reporting_html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/functions_reporting_html.php b/pandora_console/include/functions_reporting_html.php index d9be2ffb0a..a5d2387655 100755 --- a/pandora_console/include/functions_reporting_html.php +++ b/pandora_console/include/functions_reporting_html.php @@ -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