diff options
author | Friendika <info@friendika.com> | 2011-04-26 04:40:34 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-04-26 04:40:34 -0700 |
commit | 7bf85eadb2cabedf955046722d1ff45e0f160421 (patch) | |
tree | 155010109cd753c7498c62881feae7d3afdd5d1f /boot.php | |
parent | 1ec8fd416bae3071b6a9c33bc18d7f9ded34320f (diff) | |
parent | 245a56f0c1c7db884d0bbd4265f6f74a20442748 (diff) | |
download | volse-hubzilla-7bf85eadb2cabedf955046722d1ff45e0f160421.tar.gz volse-hubzilla-7bf85eadb2cabedf955046722d1ff45e0f160421.tar.bz2 volse-hubzilla-7bf85eadb2cabedf955046722d1ff45e0f160421.zip |
Merge branch 'fb'
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1218,6 +1218,7 @@ function set_config($family,$key,$value) { global $a; if(get_config($family,$key,true) === false) { + $a->config[$family][$key] = $value; $ret = q("INSERT INTO `config` ( `cat`, `k`, `v` ) VALUES ( '%s', '%s', '%s' ) ", dbesc($family), dbesc($key), @@ -1312,6 +1313,7 @@ function set_pconfig($uid,$family,$key,$value) { global $a; if(get_pconfig($uid,$family,$key,true) === false) { + $a->config[$uid][$family][$key] = $value; $ret = q("INSERT INTO `pconfig` ( `uid`, `cat`, `k`, `v` ) VALUES ( %d, '%s', '%s', '%s' ) ", intval($uid), dbesc($family), |