summaryrefslogtreecommitdiff
path: root/classes/rssutils.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-09 13:42:28 +0300
committerAndrew Dolgov <[email protected]>2021-03-09 13:42:28 +0300
commitdd9d017f7d5041eedc31a126d023f5f4d406e557 (patch)
treea7578b93f6b293127f1feeeba0032089f5d00d18 /classes/rssutils.php
parent9b321be27028fcfac16f963cd1ba4984023c1a39 (diff)
add another coalesce for rule inverse
Diffstat (limited to 'classes/rssutils.php')
-rwxr-xr-xclasses/rssutils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/rssutils.php b/classes/rssutils.php
index cddc34402..d797838ba 100755
--- a/classes/rssutils.php
+++ b/classes/rssutils.php
@@ -1431,7 +1431,7 @@ class RSSUtils {
$match = false;
$reg_exp = str_replace('/', '\/', (string)$rule["reg_exp"]);
$reg_exp = str_replace("\n", "", $reg_exp); // reg_exp may be formatted with CRs now because of textarea, we need to strip those
- $rule_inverse = $rule["inverse"];
+ $rule_inverse = $rule["inverse"] ?? false;
$last_processed_rule = $rule;
if (empty($reg_exp))