diff options
author | Mario <mario@mariovavti.com> | 2022-10-20 19:25:01 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-10-20 19:25:01 +0000 |
commit | 7ca289edd0d568a51dfdf225a5ef0e9663c38838 (patch) | |
tree | 5af544fa0ff7ca29fad5b57240a7ed2d66c5b2cf /Zotlabs/Lib | |
parent | bf434818d7cfac6bf29482d4bb07fc567de2fc90 (diff) | |
download | volse-hubzilla-7ca289edd0d568a51dfdf225a5ef0e9663c38838.tar.gz volse-hubzilla-7ca289edd0d568a51dfdf225a5ef0e9663c38838.tar.bz2 volse-hubzilla-7ca289edd0d568a51dfdf225a5ef0e9663c38838.zip |
fix php warnings
Diffstat (limited to 'Zotlabs/Lib')
-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'", |