try fix issue 1343
This commit is contained in:
parent
01bd398293
commit
ab8140aacf
1 changed files with 3 additions and 4 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue