Skip to content
Snippets Groups Projects
Commit 08deaa8d authored by Thomas Steur's avatar Thomas Steur Committed by GitHub
Browse files

Merge pull request #27 from piwik/arraycustomparam

Allow arrays to be used in custom parameters
parents 5f435290 83671a25
Branches
Tags 1.3.0
No related merge requests found
......@@ -1652,9 +1652,7 @@ class PiwikTracker
$customFields = '';
if (!empty($this->customParameters)) {
foreach ($this->customParameters as $parameter => $value) {
$customFields .= '&' . urlencode($parameter) . '=' . urlencode($value);
}
$customFields = '&' . http_build_query($this->customParameters, '', '&');
}
$url = $this->getBaseUrl() .
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment