diff --git a/brouter-routing-app/src/main/java/btools/routingapp/BRouterView.java b/brouter-routing-app/src/main/java/btools/routingapp/BRouterView.java index 092aac3..dc1c0a1 100644 --- a/brouter-routing-app/src/main/java/btools/routingapp/BRouterView.java +++ b/brouter-routing-app/src/main/java/btools/routingapp/BRouterView.java @@ -499,7 +499,7 @@ public class BRouterView extends View { rc.localFunction = profilePath; rc.turnInstructionMode = cor.getTurnInstructionMode(); - if (params != null || params.length() > 2) { + if (params != null && params.length() > 2) { try { Map profileParamsCollection = null; RoutingParamCollector routingParamCollector = new RoutingParamCollector();