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:
authormatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-03-09 22:02:54 +0300
committermatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-03-09 22:02:54 +0300
commitdc8ca9c086b1dadb5b7814039d377181cfd00177 (patch)
treeffae8cdd9a67e9da345f0c0b208e85d9efb2bc89 /core/Tracker/Config.php
parentc5c9522f0b5e358d3559b2e87840a4179ab01682 (diff)
- fix #573 Changeset 949 may break configuration values
Diffstat (limited to 'core/Tracker/Config.php')
-rw-r--r--core/Tracker/Config.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/Tracker/Config.php b/core/Tracker/Config.php
index 2b8d4a3689..e599208152 100644
--- a/core/Tracker/Config.php
+++ b/core/Tracker/Config.php
@@ -58,7 +58,14 @@ class Piwik_Tracker_Config
{
foreach($sectionValues as $name => &$value)
{
- $value = str_replace("&quot;", '"', $value);
+ if(is_array($value))
+ {
+ $value = array_map("html_entity_decode", $value);
+ }
+ else
+ {
+ $value = html_entity_decode($value);
+ }
}
}
$this->init = true;