Fix NPE
This commit is contained in:
parent
93333d985e
commit
2d20d569d5
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ public class PoiFiltersHelper {
|
|||
}
|
||||
|
||||
public static String getOsmDefinedFilterId(PoiCategory t){
|
||||
return PoiLegacyFilter.STD_PREFIX + t.getKeyName();
|
||||
return PoiLegacyFilter.STD_PREFIX + (t == null ? null : t.getKeyName());
|
||||
}
|
||||
|
||||
public void updateFilters(boolean onlyAddFilters){
|
||||
|
|
Loading…
Reference in a new issue