1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-17 18:51:29 +00:00

classes/opml: fix indentation; when importing, don't produce warning

on filters with no rules defined.
This commit is contained in:
Andrew Dolgov
2021-09-08 08:11:51 +03:00
parent 012a9fdee3
commit 78ff7770d1

View File

@@ -409,7 +409,7 @@ class OPML extends Handler_Protected {
$feed_id = null; $feed_id = null;
$cat_id = null; $cat_id = null;
if ($rule["match"]) { if ($rule["match"] ?? false) {
$match_on = []; $match_on = [];