diff options
author | Andrew Dolgov <[email protected]> | 2023-09-18 18:52:22 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-09-18 18:52:22 +0300 |
commit | f489f620d0f56a933223b2bf9942400dbf2373c2 (patch) | |
tree | be2e338776d769c02f408cc527d0f87b050e0936 /classes/rssutils.php | |
parent | dd6ac57a07db012a09a4e9a808be09b8f77d0764 (diff) |
phpstan fix
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 5409ec535..30db08963 100755 --- a/classes/rssutils.php +++ b/classes/rssutils.php @@ -1525,10 +1525,10 @@ class RSSUtils { $inverse = $filter["inverse"] ?? false; $filter_match = false; $last_processed_rule = false; + $regexp_matches = []; foreach ($filter["rules"] as $rule) { $match = false; - $regexp_matches = []; $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"] ?? false; |