aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/PConfig.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-11-02 18:48:23 -0700
committerzotlabs <mike@macgirvin.com>2016-11-02 18:48:23 -0700
commitaab7bc5282bffeb553c1bbd505ac74fde233ea3b (patch)
tree47ca3936da8ee75fd291a697cf9cc7c3a3981ed6 /Zotlabs/Lib/PConfig.php
parent9e2ccbd2a7cda195de5ae03ea8729561762d157a (diff)
downloadvolse-hubzilla-aab7bc5282bffeb553c1bbd505ac74fde233ea3b.tar.gz
volse-hubzilla-aab7bc5282bffeb553c1bbd505ac74fde233ea3b.tar.bz2
volse-hubzilla-aab7bc5282bffeb553c1bbd505ac74fde233ea3b.zip
silence a minor warning
Diffstat (limited to 'Zotlabs/Lib/PConfig.php')
-rw-r--r--Zotlabs/Lib/PConfig.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Lib/PConfig.php b/Zotlabs/Lib/PConfig.php
index 7e29ef8de..3b47a250a 100644
--- a/Zotlabs/Lib/PConfig.php
+++ b/Zotlabs/Lib/PConfig.php
@@ -186,6 +186,7 @@ class PConfig {
$ret = false;
if(array_key_exists($uid,\App::$config)
+ && is_array(\App::$config['uid'])
&& array_key_exists($family,\App::$config['uid'])
&& array_key_exists($key, \App::$config[$uid][$family]))
unset(\App::$config[$uid][$family][$key]);