From 8e9d2f80e889c576793135875ffbf133586b0ccf Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Tue, 1 Jun 2021 11:35:04 -0400 Subject: [PATCH] Fix issue processwire/processwire-issues#1388 --- wire/core/WireHttp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wire/core/WireHttp.php b/wire/core/WireHttp.php index 443643a2..f9a23b4c 100644 --- a/wire/core/WireHttp.php +++ b/wire/core/WireHttp.php @@ -930,7 +930,7 @@ class WireHttp extends Wire { $setopts = $options['curl_setopt']; } if(is_array($setopts)) { - curl_setopt_array($curl, $options['curl']); + curl_setopt_array($curl, $setopts); } $result = curl_exec($curl);