aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/UlbotechProtocolDecoder.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/org/traccar/protocol/UlbotechProtocolDecoder.java b/src/org/traccar/protocol/UlbotechProtocolDecoder.java
index a94da7be7..f2cedf31e 100644
--- a/src/org/traccar/protocol/UlbotechProtocolDecoder.java
+++ b/src/org/traccar/protocol/UlbotechProtocolDecoder.java
@@ -32,10 +32,7 @@ public class UlbotechProtocolDecoder extends BaseProtocolDecoder {
public UlbotechProtocolDecoder(UlbotechProtocol protocol) {
super(protocol);
-
- if (Context.getConfig().hasKey(protocol + ".timezone")) {
- timeZone = Context.getConfig().getInteger(protocol + ".timezone");
- }
+ timeZone = Context.getConfig().getInteger(protocol + ".timezone", 0);
}
private static final short DATA_GPS = 0x01;