]> git.mxchange.org Git - friendica.git/blobdiff - include/config.php
make 'PHP "register_argc_argv"' easier to translate, may require fix for po2php
[friendica.git] / include / config.php
index 2cddda0b8d9a98f30f022793c6423378a57382ff..4cff38090c2e5bdd585de562d81fa1c5bb7a67f7 100755 (executable)
@@ -80,6 +80,7 @@ function set_config($family,$key,$value) {
        
        // manage array value
        $dbvalue = (is_array($value)?serialize($value):$value);
+       $dbvalue = (is_bool($value) ? intval($value) : $value);
 
        if(get_config($family,$key,true) === false) {
                $a->config[$family][$key] = $value;