diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/Settings/Setting.php | 2 |
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); } |