aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/org/traccar/ReverseGeocoderHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/ReverseGeocoderHandler.java b/src/org/traccar/ReverseGeocoderHandler.java
index 8cbcc72b5..4851b3281 100644
--- a/src/org/traccar/ReverseGeocoderHandler.java
+++ b/src/org/traccar/ReverseGeocoderHandler.java
@@ -36,7 +36,7 @@ public class ReverseGeocoderHandler implements ChannelUpstreamHandler {
String formatString = Context.getConfig().getString("geocoder.format");
if (formatString != null) {
- addressFormat = new AddressFormat(Context.getConfig().getString("geocoder.format"));
+ addressFormat = new AddressFormat(formatString);
} else {
addressFormat = new AddressFormat();
}