Browse Source

add another coalesce for rule inverse

master
Andrew Dolgov 1 year ago
parent
commit
dd9d017f7d
  1. 2
      classes/rssutils.php

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

Loading…
Cancel
Save