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:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user