diff options
author | Mario <mario@mariovavti.com> | 2022-02-13 18:58:12 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-02-13 18:58:12 +0000 |
commit | a7ec1805e3f5836641503d1f8cb6ccc1d8c885fa (patch) | |
tree | 048628b0da961a7cfda32dce7ed3572875e22907 /Zotlabs/Lib/Libzot.php | |
parent | 4b06bc552f04fc78545a450343cc59e236791a66 (diff) | |
download | volse-hubzilla-a7ec1805e3f5836641503d1f8cb6ccc1d8c885fa.tar.gz volse-hubzilla-a7ec1805e3f5836641503d1f8cb6ccc1d8c885fa.tar.bz2 volse-hubzilla-a7ec1805e3f5836641503d1f8cb6ccc1d8c885fa.zip |
address deprecation warnings
Diffstat (limited to 'Zotlabs/Lib/Libzot.php')
-rw-r--r-- | Zotlabs/Lib/Libzot.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php index e4d8d2275..83536a033 100644 --- a/Zotlabs/Lib/Libzot.php +++ b/Zotlabs/Lib/Libzot.php @@ -1003,7 +1003,7 @@ class Libzot { $x = Crypto::unencapsulate($x, get_config('system', 'prvkey')); - if (!is_array($x)) { + if ($x && !is_array($x)) { $x = json_decode($x, true); } |