aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup/default.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/default.xml b/setup/default.xml
index 419eaef45..e427d05e5 100644
--- a/setup/default.xml
+++ b/setup/default.xml
@@ -49,7 +49,7 @@
</entry>
<entry key='database.selectPrecedingPosition'>
- SELECT * FROM tc_positions WHERE deviceId = :deviceId AND fixTime lte :time ORDER BY fixTime DESC LIMIT 1
+ SELECT * FROM tc_positions WHERE deviceId = :deviceId AND fixTime &lt;= :time ORDER BY fixTime DESC LIMIT 1
</entry>
<entry key='database.selectLatestPositions'>