diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-03-09 22:02:54 +0300 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-03-09 22:02:54 +0300 |
commit | dc8ca9c086b1dadb5b7814039d377181cfd00177 (patch) | |
tree | ffae8cdd9a67e9da345f0c0b208e85d9efb2bc89 /core/Tracker/Config.php | |
parent | c5c9522f0b5e358d3559b2e87840a4179ab01682 (diff) |
- fix #573 Changeset 949 may break configuration values
Diffstat (limited to 'core/Tracker/Config.php')
-rw-r--r-- | core/Tracker/Config.php | 9 |
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(""", '"', $value); + if(is_array($value)) + { + $value = array_map("html_entity_decode", $value); + } + else + { + $value = html_entity_decode($value); + } } } $this->init = true; |