diff options
author | zottel <github@zottel.net> | 2012-04-08 10:33:32 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2012-04-08 10:33:32 +0200 |
commit | aaf5a81365b4cbcb3d1b9537b5544aeb5de66f4b (patch) | |
tree | 1d7e5f2b575b8836fefe76660f466cb176585d5c /include/config.php | |
parent | 64a1367525ac920721943a08adec1124657df70d (diff) | |
parent | e3b2ac0735c908357dafb8670339fd34d3e2e6c0 (diff) | |
download | volse-hubzilla-aaf5a81365b4cbcb3d1b9537b5544aeb5de66f4b.tar.gz volse-hubzilla-aaf5a81365b4cbcb3d1b9537b5544aeb5de66f4b.tar.bz2 volse-hubzilla-aaf5a81365b4cbcb3d1b9537b5544aeb5de66f4b.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'include/config.php')
-rwxr-xr-x | include/config.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/config.php b/include/config.php index 2cddda0b8..4cff38090 100755 --- a/include/config.php +++ b/include/config.php @@ -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; |