aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Libzotdir.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2021-02-02 11:47:38 +0100
committerMario Vavti <mario@mariovavti.com>2021-02-02 11:47:38 +0100
commite312c381d897866b15179fd301d9979b46f2f678 (patch)
tree4930a612e609ad64b055ae9ad04c7f04023acd01 /Zotlabs/Lib/Libzotdir.php
parentaf6f7f244e965c2dfb392b060d6e26c30dc78e31 (diff)
downloadvolse-hubzilla-e312c381d897866b15179fd301d9979b46f2f678.tar.gz
volse-hubzilla-e312c381d897866b15179fd301d9979b46f2f678.tar.bz2
volse-hubzilla-e312c381d897866b15179fd301d9979b46f2f678.zip
import_xchan() $arr photo structure has changed
Diffstat (limited to 'Zotlabs/Lib/Libzotdir.php')
-rw-r--r--Zotlabs/Lib/Libzotdir.php3
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 {