diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-05-23 06:18:58 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-05-23 06:18:58 +0400 |
commit | debae0756cba9e5bd2bafc9e8e037757b740e783 (patch) | |
tree | 051876f2d36a21e62e31c45319d592a9889d8e9d /plugins | |
parent | a930ce4289a90a168d7f9d37ad0f813569617e10 (diff) |
Fixes #3940 Adding '&format=php' to ensure the data within the bulk request, is converted only once and is valid JSON. Also works in XML (not in CSV).
I updated the bulk request doc at: http://piwik.org/docs/analytics-api/reference/#toc-advanced-users-send-multiple-api-requests-at-once
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/API/API.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/API/API.php b/plugins/API/API.php index 262800accf..01c3acb3af 100644 --- a/plugins/API/API.php +++ b/plugins/API/API.php @@ -1619,7 +1619,7 @@ class Piwik_API_API $result = array(); foreach ($urls as $url) { - $req = new Piwik_API_Request($url); + $req = new Piwik_API_Request($url . '&format=php&serialize=0'); $result[] = $req->process(); } return $result; |