Fix null ref

This commit is contained in:
Victor Shcherb 2015-11-25 14:37:49 +01:00
parent a583417eee
commit 500f000939

View file

@ -145,7 +145,7 @@ public abstract class MenuTitleController {
if(Algorithms.isEmpty(streetName)) { if(Algorithms.isEmpty(streetName)) {
streetName = ""; streetName = "";
} }
if(Algorithms.isEmpty(ref)) { if(!Algorithms.isEmpty(ref)) {
streetName += ", "+ ref; streetName += ", "+ ref;
} }
streetStr = streetName; streetStr = streetName;