From 90e7bf7cc385a64e3a91f30a6415a598ae0d0e99 Mon Sep 17 00:00:00 2001 From: wn_ Date: Sat, 30 Dec 2023 15:38:41 +0000 Subject: Update all UrlHelper::fetch() calls to use the associative array approach. The other approach (passing in individual params) was marked as deprecated a few years ago. --- classes/RSSUtils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/RSSUtils.php') diff --git a/classes/RSSUtils.php b/classes/RSSUtils.php index c340f6cad..ea3c074ab 100644 --- a/classes/RSSUtils.php +++ b/classes/RSSUtils.php @@ -2007,7 +2007,7 @@ class RSSUtils { $favicon_urls = []; - if ($html = @UrlHelper::fetch($url)) { + if ($html = @UrlHelper::fetch(['url' => $url])) { $doc = new DOMDocument(); if (@$doc->loadHTML($html)) { -- cgit v1.2.3-54-g00ecf