This commit is contained in:
sonora 2017-01-09 22:43:00 +01:00
parent f0c2ac668f
commit 47f3fbddac

View file

@ -122,7 +122,7 @@ public class PoiFiltersHelper {
private PoiUIFilter getFilterById(String filterId, PoiUIFilter... filters) {
for (PoiUIFilter pf : filters) {
if (pf.getFilterId() != null && filterId != null && pf.getFilterId().equals(filterId)) {
if (pf != null && pf.getFilterId() != null && filterId != null && pf.getFilterId().equals(filterId)) {
return pf;
}
}