catch NPE from #3398
This commit is contained in:
parent
0ee28c19cc
commit
f0c2ac668f
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ public class PoiFiltersHelper {
|
|||
|
||||
private PoiUIFilter getFilterById(String filterId, PoiUIFilter... filters) {
|
||||
for (PoiUIFilter pf : filters) {
|
||||
if (pf.getFilterId().equals(filterId)) {
|
||||
if (pf.getFilterId() != null && filterId != null && pf.getFilterId().equals(filterId)) {
|
||||
return pf;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue