Update poi types
This commit is contained in:
parent
da6121e8d4
commit
e72c540bc9
1 changed files with 5 additions and 1 deletions
|
@ -58,7 +58,11 @@ public class PoiTypesHelper {
|
|||
}
|
||||
break;
|
||||
case TYPE:
|
||||
return app.getPoiTypes().getPoiTypeByKey(poiTypeObject.getKeyName());
|
||||
AbstractPoiType p = app.getPoiTypes().getPoiTypeByKey(poiTypeObject.getKeyName());
|
||||
if(p == null) {
|
||||
return app.getPoiTypes().getAnyPoiAdditionalTypeByKey(poiTypeObject.getKeyName());
|
||||
}
|
||||
return p;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue