summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_url.class')
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class
index 0597429..3d1d164 100644
--- a/it_url.class
+++ b/it_url.class
@@ -421,7 +421,7 @@ static function get_multi($p=null)
$addhandle = function ($key, $url) use (&$keys, &$handles, &$urls, $opts, $mh) {
$urls[$key] = $url;
$handle = curl_init();
- curl_setopt($handle, CURLOPT_URL, it::replace([ '^//' => "http://" ], is_array($url) ? $url['url'] : $url));
+ curl_setopt($handle, CURLOPT_URL, it::replace([ '^//' => "http://" ], is_array($url) ? $url['url'] : $url)); # HTTP OK
curl_setopt_array($handle, $opts);
curl_multi_add_handle($mh, $handle);
$keys[(int)$handle] = $key;