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:
Diffstat (limited to 'core/Config.php')
-rw-r--r--core/Config.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Config.php b/core/Config.php
index 95f4e62e6c..db2e1e5d6a 100644
--- a/core/Config.php
+++ b/core/Config.php
@@ -382,6 +382,10 @@ class Config extends Singleton
$value = $this->encodeValues($value);
}
} else {
+ if (is_float($values)) {
+ $values = Common::forceDotAsSeparatorForDecimalPoint($values);
+ }
+
$values = htmlentities($values, ENT_COMPAT, 'UTF-8');
$values = str_replace('$', '$', $values);
}