From 755ca8bcf9b1b80decac83939d7c2cc6ca26f795 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Fri, 14 Apr 2017 15:07:45 +0300 Subject: [PATCH] Fix issue with search --- OsmAnd-java/src/net/osmand/search/core/SearchPhrase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd-java/src/net/osmand/search/core/SearchPhrase.java b/OsmAnd-java/src/net/osmand/search/core/SearchPhrase.java index 2e1aecfc5c..52bc0fdc9a 100644 --- a/OsmAnd-java/src/net/osmand/search/core/SearchPhrase.java +++ b/OsmAnd-java/src/net/osmand/search/core/SearchPhrase.java @@ -638,7 +638,7 @@ public class SearchPhrase { public String getUnknownWordToSearch() { List unknownSearchWords = getUnknownSearchWords(); - String wordToSearch = ""; + String wordToSearch = getUnknownSearchWord(); if (unknownSearchWords.size() > 0) { List searchWords = new ArrayList<>(unknownSearchWords); searchWords.add(0, getUnknownSearchWord());