Merge branch '1921-Informe-de-tipo-Datos-Históricos-no-devuelve-info-de-base-de-datos-histórico-dev' into 'develop'
Fixed connection to historical db See merge request artica/pandorafms!1305
This commit is contained in:
commit
1c56f18dd8
|
@ -2463,7 +2463,7 @@ function reporting_historical_data($report, $content) {
|
||||||
WHERE id_agente_modulo =' . $content['id_agent_module'] . '
|
WHERE id_agente_modulo =' . $content['id_agent_module'] . '
|
||||||
AND utimestamp >' . $date_limit . '
|
AND utimestamp >' . $date_limit . '
|
||||||
AND utimestamp <=' . time()
|
AND utimestamp <=' . time()
|
||||||
);
|
, true);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$result = db_get_all_rows_sql (
|
$result = db_get_all_rows_sql (
|
||||||
|
@ -2472,7 +2472,7 @@ function reporting_historical_data($report, $content) {
|
||||||
WHERE id_agente_modulo =' . $content['id_agent_module'] . '
|
WHERE id_agente_modulo =' . $content['id_agent_module'] . '
|
||||||
AND utimestamp >' . $date_limit . '
|
AND utimestamp >' . $date_limit . '
|
||||||
AND utimestamp <=' . time()
|
AND utimestamp <=' . time()
|
||||||
);
|
, true);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue