diff options
author | Anton Tananaev <anton@traccar.org> | 2024-04-17 07:47:01 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-04-17 07:47:01 -0700 |
commit | ef67a4c1577b2fbabb04c4de9b08b6d778c78952 (patch) | |
tree | ce0670aa9e74c52602b842546ced9649f2c73f86 /src/main/java/org/traccar/database/StatisticsManager.java | |
parent | 8458c3f3cbf6a42fde3d455c9c231498ca0fa184 (diff) | |
download | trackermap-server-ef67a4c1577b2fbabb04c4de9b08b6d778c78952.tar.gz trackermap-server-ef67a4c1577b2fbabb04c4de9b08b6d778c78952.tar.bz2 trackermap-server-ef67a4c1577b2fbabb04c4de9b08b6d778c78952.zip |
Move some defaults to the code
Diffstat (limited to 'src/main/java/org/traccar/database/StatisticsManager.java')
-rw-r--r-- | src/main/java/org/traccar/database/StatisticsManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/database/StatisticsManager.java b/src/main/java/org/traccar/database/StatisticsManager.java index 445e53e7c..8711289a0 100644 --- a/src/main/java/org/traccar/database/StatisticsManager.java +++ b/src/main/java/org/traccar/database/StatisticsManager.java @@ -121,7 +121,7 @@ public class StatisticsManager { } String url = config.getString(Keys.SERVER_STATISTICS); - if (url != null) { + if (url != null && !url.isEmpty()) { String time = DateUtil.formatDate(statistics.getCaptureTime()); Form form = new Form(); |