summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel Carleton-Barnes2013-01-25 23:25:51 (GMT)
committer Gabriel Carleton-Barnes2013-01-25 23:25:51 (GMT)
commitafc79027821fd307635310065ceecfda4960d5ab (patch)
treebeb8eb86672e02aca088846ab26a49a005598e06
parent0e125efdf9f4ecc323b111efe2d118ecaf3ae04a (diff)
Altering call to http_build_query to specify the arg seperator desired by MCAPI. This value otherwise defaults to a php setting which we cannot rely on.
-rw-r--r--includes/mailchimp.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/mailchimp.inc b/includes/mailchimp.inc
index 42b5f9f..89fda49 100644
--- a/includes/mailchimp.inc
+++ b/includes/mailchimp.inc
@@ -17,7 +17,7 @@ class MailChimp extends MCAPI {
$this->errorMessage = "";
$this->errorCode = "";
- $post_vars = http_build_query($params);
+ $post_vars = http_build_query($params, NULL ,'&');
$response = drupal_http_request(
$protocol . $host . $this->apiUrl["path"] . '?method=' . $method,