try fix issue 1343

This commit is contained in:
sonora 2015-06-12 22:31:02 +02:00
parent 01bd398293
commit ab8140aacf

View file

@ -164,10 +164,9 @@ public class Amenity extends MapObject {
return lang;
}
}
//check if this causes issue 1343
//if (!Algorithms.isEmpty(getName())) {
// return "";
//}
if (!Algorithms.isEmpty(getName())) {
return lang;
}
for (String nm : getAdditionalInfo().keySet()) {
if (nm.startsWith("name:")) {
return nm.substring("name:".length());