diff options
author | wn_ <[email protected]> | 2023-12-30 15:38:41 +0000 |
---|---|---|
committer | wn_ <[email protected]> | 2023-12-30 15:39:17 +0000 |
commit | 90e7bf7cc385a64e3a91f30a6415a598ae0d0e99 (patch) | |
tree | cad5cb926791ff5284c7c20ffb5235181df02081 /plugins/af_comics/filters/af_comics_twp.php | |
parent | a882eb13f7ab36f4bab26a290a8e5ab1c6f2fb34 (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 'plugins/af_comics/filters/af_comics_twp.php')
-rw-r--r-- | plugins/af_comics/filters/af_comics_twp.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |