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
1 changed files with 79 additions and 79 deletions

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 = [];