aboutsummaryrefslogtreecommitdiffstats
path: root/include/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/config.php')
-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) {