From aab7bc5282bffeb553c1bbd505ac74fde233ea3b Mon Sep 17 00:00:00 2001 From: zotlabs Date: Wed, 2 Nov 2016 18:48:23 -0700 Subject: silence a minor warning --- Zotlabs/Lib/PConfig.php | 1 + 1 file changed, 1 insertion(+) (limited to 'Zotlabs/Lib') 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]); -- cgit v1.2.3