diff --git a/miniflux/model.php b/miniflux/model.php index 1c70e7e..dc80c85 100644 --- a/miniflux/model.php +++ b/miniflux/model.php @@ -72,6 +72,11 @@ function import_feed($url) $feed = $parser->execute(); + if (! $feed->title || ! $feed->url) { + + return false; + } + $db = \PicoTools\singleton('db'); if (! $db->table('feeds')->eq('feed_url', $reader->getUrl())->count()) {