Fixed connection to historical db

This commit is contained in:
danielmaya 2018-02-19 12:04:02 +01:00
parent 87ffae2d88
commit 17586472c8
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}