viewgit/inc/functions.php:22 Function utf8_encode() is deprecated [8192]
Filename | |
---|---|
src/library/FetchUrl.php |
diff --git a/src/library/FetchUrl.php b/src/library/FetchUrl.php index 4f6b7f096..df3a4fd4a 100755 --- a/src/library/FetchUrl.php +++ b/src/library/FetchUrl.php @@ -803,6 +803,7 @@ class FetchUrl implements CrawlConstants curl_close($agent_host); } } + $host = ($post_data) ? "POST " . $host : "GET " . $host; if (empty($agents[$host])) { $agents[$host] = curl_init(); }