Skip to content

Commit 19733c3

Browse files
committed
Merge pull request #74 from wlcx/patch-1
Remove JSON_FORCE_OBJECT from json_encode call
2 parents 957741e + 774837b commit 19733c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/MailChimp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ private function makeRequest($http_verb, $method, $args=array(), $timeout=10)
6969
{
7070
$url = $this->api_endpoint.'/'.$method;
7171

72-
$json_data = json_encode($args, JSON_FORCE_OBJECT);
72+
$json_data = json_encode($args);
7373

7474
if (function_exists('curl_init') && function_exists('curl_setopt')) {
7575
$ch = curl_init();

0 commit comments

Comments
 (0)