1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-12 17:54:44 +02:00
This commit is contained in:
Ryan Cramer
2021-06-01 11:35:04 -04:00
parent 91cb5c0e21
commit 8e9d2f80e8

View File

@@ -930,7 +930,7 @@ class WireHttp extends Wire {
$setopts = $options['curl_setopt']; $setopts = $options['curl_setopt'];
} }
if(is_array($setopts)) { if(is_array($setopts)) {
curl_setopt_array($curl, $options['curl']); curl_setopt_array($curl, $setopts);
} }
$result = curl_exec($curl); $result = curl_exec($curl);