fixed error in trail chart
This commit is contained in:
parent
1f10ea0f94
commit
a88eee6a64
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue