add another coalesce for rule inverse
This commit is contained in:
parent
9b321be270
commit
dd9d017f7d
|
@ -1431,7 +1431,7 @@ class RSSUtils {
|
||||||
$match = false;
|
$match = false;
|
||||||
$reg_exp = str_replace('/', '\/', (string)$rule["reg_exp"]);
|
$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
|
$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;
|
$last_processed_rule = $rule;
|
||||||
|
|
||||||
if (empty($reg_exp))
|
if (empty($reg_exp))
|
||||||
|
|
Loading…
Reference in New Issue