From 17586472c8851bc2fdba087836eaaacb84e5398d Mon Sep 17 00:00:00 2001 From: danielmaya Date: Mon, 19 Feb 2018 12:04:02 +0100 Subject: [PATCH] Fixed connection to historical db --- pandora_console/include/functions_reporting.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 64315cc219..7737e32f69 100755 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -2463,7 +2463,7 @@ function reporting_historical_data($report, $content) { WHERE id_agente_modulo =' . $content['id_agent_module'] . ' AND utimestamp >' . $date_limit . ' AND utimestamp <=' . time() - ); + , true); break; default: $result = db_get_all_rows_sql ( @@ -2472,7 +2472,7 @@ function reporting_historical_data($report, $content) { WHERE id_agente_modulo =' . $content['id_agent_module'] . ' AND utimestamp >' . $date_limit . ' AND utimestamp <=' . time() - ); + , true); break; }