diff options
author | Andrzej Budziński <andrzej@budzinski.ovh> | 2021-02-03 15:00:24 +0100 |
---|---|---|
committer | Andrzej Budziński <andrzej@budzinski.ovh> | 2021-02-03 15:00:24 +0100 |
commit | ba73845badef5c653c05c70ca27a5b37e2f25f97 (patch) | |
tree | 6b22545076df5f80b8714f07e92a518af24f0dc5 /Zotlabs/Lib/Libzotdir.php | |
parent | 7ece28b9814e6bc7ea2879335520641561dc0ba5 (diff) | |
parent | 34b28cd8d36c7805e65c442ff1588ccf5165387a (diff) | |
download | volse-hubzilla-ba73845badef5c653c05c70ca27a5b37e2f25f97.tar.gz volse-hubzilla-ba73845badef5c653c05c70ca27a5b37e2f25f97.tar.bz2 volse-hubzilla-ba73845badef5c653c05c70ca27a5b37e2f25f97.zip |
Merge branch 'dev' into translation-pl
Diffstat (limited to 'Zotlabs/Lib/Libzotdir.php')
-rw-r--r-- | Zotlabs/Lib/Libzotdir.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Libzotdir.php b/Zotlabs/Lib/Libzotdir.php index d4c5398ee..41c0a54e9 100644 --- a/Zotlabs/Lib/Libzotdir.php +++ b/Zotlabs/Lib/Libzotdir.php @@ -311,12 +311,13 @@ class Libzotdir { if ($ud['ud_addr'] && (! ($ud['ud_flags'] & UPDATE_FLAGS_DELETED))) { $success = false; + $zf = []; $href = Webfinger::zot_url(punify($ud['ud_addr'])); if($href) { $zf = Zotfinger::exec($href); } - if(is_array($zf) && array_path_exists('signature/signer',$zf) && $zf['signature']['signer'] === $href && intval($zf['signature']['header_valid'])) { + if(array_path_exists('signature/signer',$zf) && $zf['signature']['signer'] === $href && intval($zf['signature']['header_valid'])) { $xc = Libzot::import_xchan($zf['data'], 0, $ud); } else { |