From 9b321be27028fcfac16f963cd1ba4984023c1a39 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 9 Mar 2021 09:31:52 +0300 Subject: [PATCH] get_article_filters: set coalesce values for inverse and match_any_rule --- classes/rssutils.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/rssutils.php b/classes/rssutils.php index e6bf08ab1..cddc34402 100755 --- a/classes/rssutils.php +++ b/classes/rssutils.php @@ -1422,8 +1422,8 @@ class RSSUtils { $matches = array(); foreach ($filters as $filter) { - $match_any_rule = $filter["match_any_rule"]; - $inverse = $filter["inverse"]; + $match_any_rule = $filter["match_any_rule"] ?? false; + $inverse = $filter["inverse"] ?? false; $filter_match = false; $last_processed_rule = false;