aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/WebDataHandler.java
diff options
context:
space:
mode:
authorRafael Guterres <guterresrafael@gmail.com>2015-11-27 03:45:22 -0200
committerRafael Guterres <guterresrafael@gmail.com>2015-11-27 03:45:22 -0200
commitca06e8d38c0bbd5a68e63ebada8e115da252b055 (patch)
tree39c00c4ceb571cae540d4c25d38ad3d45c72b49c /src/org/traccar/WebDataHandler.java
parentc57bd2d472467b1b3a45aee1b97c9a0aeef5958a (diff)
parent7db2eb1ad224bf00608ebbcfe13bfa7fd519a7fc (diff)
downloadtrackermap-server-ca06e8d38c0bbd5a68e63ebada8e115da252b055.tar.gz
trackermap-server-ca06e8d38c0bbd5a68e63ebada8e115da252b055.tar.bz2
trackermap-server-ca06e8d38c0bbd5a68e63ebada8e115da252b055.zip
Merge tananaev/master
Conflicts: src/org/traccar/web/WebServer.java
Diffstat (limited to 'src/org/traccar/WebDataHandler.java')
-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()))