diff options
author | Michael Vogel <icarus@dabo.de> | 2012-04-06 00:00:46 +0200 |
---|---|---|
committer | Michael Vogel <icarus@dabo.de> | 2012-04-06 00:00:46 +0200 |
commit | 34d268544e565985014ada4369e8673c87883a0a (patch) | |
tree | 49a30ed61668405d731df2e32b4548516ecb58b5 /include/config.php | |
parent | 81dfb61f930005f0f65b1f72935c10edc247a985 (diff) | |
parent | 9b6e91086b29554fd04362f6c87ea148718e8b1c (diff) | |
download | volse-hubzilla-34d268544e565985014ada4369e8673c87883a0a.tar.gz volse-hubzilla-34d268544e565985014ada4369e8673c87883a0a.tar.bz2 volse-hubzilla-34d268544e565985014ada4369e8673c87883a0a.zip |
Merge commit '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; |