Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattpiwik <matthieu.aubry@gmail.com>2010-12-22 08:32:20 +0300
committermattpiwik <matthieu.aubry@gmail.com>2010-12-22 08:32:20 +0300
commitbccd704f612595a4ac2920d31d844f6875f19142 (patch)
tree9a42c7d4480f69167e957bb99c58079dbd670528 /core/Cookie.php
parentd0e5c41f7269ba92383274a7c1a62def02112176 (diff)
Fixing broken tracking, json_decode returning objects but code is using the data as array Refs #1900
git-svn-id: http://dev.piwik.org/svn/trunk@3507 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Cookie.php')
-rw-r--r--core/Cookie.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Cookie.php b/core/Cookie.php
index 17083f5708..105196fa69 100644
--- a/core/Cookie.php
+++ b/core/Cookie.php
@@ -226,7 +226,7 @@ class Piwik_Cookie
// no numeric value are base64 encoded so we need to decode them
if(!is_numeric($varValue))
{
- $varValue = json_decode(base64_decode($varValue));
+ $varValue = json_decode(base64_decode($varValue), $assoc = true);
}
$this->value[$varName] = $varValue;