From a03c8ed26c41bfb8de257cb7366d8cf164c24e11 Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Tue, 29 Nov 2016 17:24:52 +0100 Subject: [PATCH] Minor fix DB uncompression (cherry picked from commit b8d7a94eb8a7d0b0a22c731255828940df92ce6b) --- pandora_console/include/functions_db.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/functions_db.php b/pandora_console/include/functions_db.php index 76e82712ca..ed50ec1cae 100644 --- a/pandora_console/include/functions_db.php +++ b/pandora_console/include/functions_db.php @@ -519,7 +519,10 @@ function db_get_module_ranges_unknown($id_agente_modulo, $tstart = false, $tend switch ($event["event_type"]) { case "going_up_critical": case "going_up_warning": - case "going_up_normal": { + case "going_up_normal": + case "going_down_critical": + case "going_down_warning": + case "going_down_normal": { if ($last_status == 1) { $return[$i]["time_to"] = $event["utimestamp"]; $i++;