summaryrefslogtreecommitdiffstats
path: root/utility
diff options
context:
space:
mode:
Diffstat (limited to 'utility')
-rw-r--r--utility/config.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/utility/config.php b/utility/config.php
index 7841b3f5f..54145c993 100644
--- a/utility/config.php
+++ b/utility/config.php
@@ -119,6 +119,8 @@ class Config {
foreach($configValues as $key => $value) {
if(property_exists($this, $key)) {
+ $type = gettype($this->$key);
+ settype($value, $type);
$this->$key = $value;
} else {
$this->api->log('Configuration value "' . $key .