Fix issue with search

This commit is contained in:
Victor Shcherb 2017-04-14 15:07:45 +03:00
parent 1a6d8bc76d
commit 91872cdf3e

View file

@ -638,7 +638,7 @@ public class SearchPhrase {
public String getUnknownWordToSearch() {
List<String> unknownSearchWords = getUnknownSearchWords();
String wordToSearch = "";
String wordToSearch = getUnknownSearchWord();
if (unknownSearchWords.size() > 0) {
List<String> searchWords = new ArrayList<>(unknownSearchWords);
searchWords.add(0, getUnknownSearchWord());