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. --- plugins/af_comics/filters/af_comics_twp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/af_comics/filters/af_comics_twp.php') diff --git a/plugins/af_comics/filters/af_comics_twp.php b/plugins/af_comics/filters/af_comics_twp.php index 6715be3c2..8f0077883 100644 --- a/plugins/af_comics/filters/af_comics_twp.php +++ b/plugins/af_comics/filters/af_comics_twp.php @@ -11,7 +11,7 @@ class Af_Comics_Twp extends Af_ComicFilter { $doc = new DOMDocument(); - $res = UrlHelper::fetch($article["link"]); + $res = UrlHelper::fetch(['url' => $article['link']]); if ($res && $doc->loadHTML($res)) { $xpath = new DOMXpath($doc); -- cgit v1.2.3