mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed connection to historical db
This commit is contained in:
parent
87ffae2d88
commit
17586472c8
@ -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…
x
Reference in New Issue
Block a user