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.
This commit is contained in:
wn_
2023-12-30 15:38:41 +00:00
parent a882eb13f7
commit 90e7bf7cc3
13 changed files with 39 additions and 36 deletions

View File

@@ -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)) {