add another coalesce for rule inverse

This commit is contained in:
Andrew Dolgov 2021-03-09 13:42:28 +03:00
parent 9b321be270
commit dd9d017f7d
1 changed files with 1 additions and 1 deletions

View File

@ -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))