diff options
author | Mario <mario@mariovavti.com> | 2022-10-26 21:56:32 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-10-26 21:56:32 +0000 |
commit | 95f6f9e10aca66c30a1ef7ac6ed24fd6e352007d (patch) | |
tree | 582116e7571ae7eaa4a51578b2f5ebeae31f75a9 /Zotlabs/Lib/XConfig.php | |
parent | ef2448e17e742e7dcef458993bce1e0a29756aa7 (diff) | |
parent | 9554f535199b5fb3a23dd40f9921a15339da3bd7 (diff) | |
download | volse-hubzilla-95f6f9e10aca66c30a1ef7ac6ed24fd6e352007d.tar.gz volse-hubzilla-95f6f9e10aca66c30a1ef7ac6ed24fd6e352007d.tar.bz2 volse-hubzilla-95f6f9e10aca66c30a1ef7ac6ed24fd6e352007d.zip |
Merge branch 'dev'
Diffstat (limited to 'Zotlabs/Lib/XConfig.php')
-rw-r--r-- | Zotlabs/Lib/XConfig.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/XConfig.php b/Zotlabs/Lib/XConfig.php index c5a108ac9..76ac8dc7a 100644 --- a/Zotlabs/Lib/XConfig.php +++ b/Zotlabs/Lib/XConfig.php @@ -162,7 +162,7 @@ class XConfig { */ static public function Delete($xchan, $family, $key) { - if(x(\App::$config[$xchan][$family], $key)) + if(isset(\App::$config[$xchan][$family][$key])) unset(\App::$config[$xchan][$family][$key]); $ret = q("DELETE FROM xconfig WHERE xchan = '%s' AND cat = '%s' AND k = '%s'", |