fixed error in trail chart

This commit is contained in:
Per Qvarforth 2022-02-05 11:09:18 +01:00
parent 1f10ea0f94
commit a88eee6a64
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ class PacketRepository extends ModelRepository
and (speed is not null or altitude is not null)
and map_id in (1,12,5,7,9)
order by timestamp';
$arg = [$stationId, time() - $startTimestamp];
$arg = [$stationId, $startTimestamp];
$pdo = PDOConnection::getInstance();
$stmt = $pdo->prepareAndExec($sql, $arg);