Fix small issue

This commit is contained in:
Victor Shcherb 2015-11-25 14:43:32 +01:00
parent 500f000939
commit 7583d2447b

View file

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