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/Settings/Setting.php')
-rw-r--r--core/Settings/Setting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Settings/Setting.php b/core/Settings/Setting.php
index efd99c3802..c1a3b28c2a 100644
--- a/core/Settings/Setting.php
+++ b/core/Settings/Setting.php
@@ -226,7 +226,7 @@ class Setting
$value = call_user_func($config->transform, $value, $this);
}
- if (isset($this->type)) {
+ if (isset($this->type) && !is_null($value)) {
settype($value, $this->type);
}