summaryrefslogtreecommitdiff
path: root/classes/RSSUtils.php
diff options
context:
space:
mode:
authorwn_ <[email protected]>2023-12-30 15:38:41 +0000
committerwn_ <[email protected]>2023-12-30 15:39:17 +0000
commit90e7bf7cc385a64e3a91f30a6415a598ae0d0e99 (patch)
treecad5cb926791ff5284c7c20ffb5235181df02081 /classes/RSSUtils.php
parenta882eb13f7ab36f4bab26a290a8e5ab1c6f2fb34 (diff)
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.
Diffstat (limited to 'classes/RSSUtils.php')
-rw-r--r--classes/RSSUtils.php2
1 files changed, 1 insertions, 1 deletions
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)) {