aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-04-26 04:39:27 -0700
committerFriendika <info@friendika.com>2011-04-26 04:39:27 -0700
commit245a56f0c1c7db884d0bbd4265f6f74a20442748 (patch)
treeea5e62d6c635e24695975561addd6974410b22ac /boot.php
parent5bcd08f482584a865ba0b32f8c0efee21b836f31 (diff)
downloadvolse-hubzilla-245a56f0c1c7db884d0bbd4265f6f74a20442748.tar.gz
volse-hubzilla-245a56f0c1c7db884d0bbd4265f6f74a20442748.tar.bz2
volse-hubzilla-245a56f0c1c7db884d0bbd4265f6f74a20442748.zip
lots of facebook fixes
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index 67f17299d..f2c2b39bc 100644
--- a/boot.php
+++ b/boot.php
@@ -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),