aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-22 10:46:52 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-22 10:46:52 +1300
commitabc01ba98be69f3f669bf330db08d4043d704620 (patch)
tree2859c50c907d852d179bfafe8dd0652ccf30d114 /src
parent7623704e12a3e60420c86add5cfdc18b14061752 (diff)
downloadtrackermap-server-abc01ba98be69f3f669bf330db08d4043d704620.tar.gz
trackermap-server-abc01ba98be69f3f669bf330db08d4043d704620.tar.bz2
trackermap-server-abc01ba98be69f3f669bf330db08d4043d704620.zip
Fix a bug in http forwarding handler
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/WebDataHandler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/WebDataHandler.java b/src/org/traccar/WebDataHandler.java
index 332fc5222..f40d49a6d 100644
--- a/src/org/traccar/WebDataHandler.java
+++ b/src/org/traccar/WebDataHandler.java
@@ -101,8 +101,8 @@ public class WebDataHandler extends BaseDataHandler {
.replace("{protocol}", String.valueOf(position.getProtocol()))
.replace("{deviceTime}", String.valueOf(position.getDeviceTime().getTime()))
.replace("{fixTime}", String.valueOf(position.getFixTime().getTime()))
- .replace("{valid}", String.valueOf(position.getLatitude()))
- .replace("{latitude}", String.valueOf(position.getValid()))
+ .replace("{valid}", String.valueOf(position.getValid()))
+ .replace("{latitude}", String.valueOf(position.getLatitude()))
.replace("{longitude}", String.valueOf(position.getLongitude()))
.replace("{altitude}", String.valueOf(position.getAltitude()))
.replace("{speed}", String.valueOf(position.getSpeed()))