diff --git a/lib/Service/CurlService.php b/lib/Service/CurlService.php index a201e51b2afc55a10782b96029f5f4e5c883163e..2c6678da7740e7df80b7ada31701033a5663fdd4 100644 --- a/lib/Service/CurlService.php +++ b/lib/Service/CurlService.php @@ -95,7 +95,9 @@ class CurlService { CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => $headers ); - $options = array_merge($options, $userOptions); + foreach ($userOptions as $key => $value) { + $options[$key] = $value; + } switch ($method) { case 'GET': if ($params) {