From b7854c89b1e568353ddfa576fc9baec432eff7c0 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 15 Jun 2013 02:15:45 -0700 Subject: silence a pointless warning --- include/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/config.php') 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) { -- cgit v1.2.3