aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-06-15 02:15:45 -0700
committerfriendica <info@friendica.com>2013-06-15 02:15:45 -0700
commitb7854c89b1e568353ddfa576fc9baec432eff7c0 (patch)
tree8b2d74dc92ef949b96ebc26e9cad6ca2fcd3ee1a /include
parent527afc54b635253bbf90927711a921c7f317658f (diff)
downloadvolse-hubzilla-b7854c89b1e568353ddfa576fc9baec432eff7c0.tar.gz
volse-hubzilla-b7854c89b1e568353ddfa576fc9baec432eff7c0.tar.bz2
volse-hubzilla-b7854c89b1e568353ddfa576fc9baec432eff7c0.zip
silence a pointless warning
Diffstat (limited to 'include')
-rw-r--r--include/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/config.php b/include/config.php
index 92fae165b..dc4470823 100644
--- a/include/config.php
+++ b/include/config.php
@@ -130,7 +130,7 @@ function del_config($family,$key) {
function load_pconfig($uid,$family) {
global $a;
- if(! array_key_exists($uid,$a->config))
+ if(($uid) && (! array_key_exists($uid,$a->config)))
$a->config[$uid] = array();
if($family) {