diff options
author | Andrew Dolgov <[email protected]> | 2021-03-09 13:42:28 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-03-09 13:42:28 +0300 |
commit | dd9d017f7d5041eedc31a126d023f5f4d406e557 (patch) | |
tree | a7578b93f6b293127f1feeeba0032089f5d00d18 /classes/rssutils.php | |
parent | 9b321be27028fcfac16f963cd1ba4984023c1a39 (diff) |
add another coalesce for rule inverse
Diffstat (limited to 'classes/rssutils.php')
-rwxr-xr-x | classes/rssutils.php | 2 |
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)) |