get_article_filters: set coalesce values for inverse and match_any_rule

This commit is contained in:
Andrew Dolgov 2021-03-09 09:31:52 +03:00
parent 4fe2e6bbf1
commit 9b321be270
1 changed files with 2 additions and 2 deletions

View File

@ -1422,8 +1422,8 @@ class RSSUtils {
$matches = array(); $matches = array();
foreach ($filters as $filter) { foreach ($filters as $filter) {
$match_any_rule = $filter["match_any_rule"]; $match_any_rule = $filter["match_any_rule"] ?? false;
$inverse = $filter["inverse"]; $inverse = $filter["inverse"] ?? false;
$filter_match = false; $filter_match = false;
$last_processed_rule = false; $last_processed_rule = false;