This commit is contained in:
Victor Shcherb 2015-03-03 11:45:28 +02:00
parent 93333d985e
commit 2d20d569d5

View file

@ -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){