aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-12 20:46:33 -0700
committerfriendica <info@friendica.com>2014-08-12 20:46:33 -0700
commit802a5c2946dbb03e3869e4c4b2b22c557149847e (patch)
tree1cf3e82a9ff2d165b8113b846d55d4f734730d10 /include
parent40667e72ad2d473377b68426f06d95d18ac8585f (diff)
downloadvolse-hubzilla-802a5c2946dbb03e3869e4c4b2b22c557149847e.tar.gz
volse-hubzilla-802a5c2946dbb03e3869e4c4b2b22c557149847e.tar.bz2
volse-hubzilla-802a5c2946dbb03e3869e4c4b2b22c557149847e.zip
zot logging to figure out why we occasionally don't have an address on xchan_import - I suspect we don't have anything useful at all.
Diffstat (limited to 'include')
-rw-r--r--include/zot.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/zot.php b/include/zot.php
index eed731778..06e4cd79e 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -625,6 +625,10 @@ function import_xchan($arr,$ud_flags = UPDATE_FLAGS_UPDATED, $ud_arr = null) {
return $ret;
}
+ if(! ($arr['guid'] && $arr['guid_sig'])) {
+ logger('import_xchan: no identity information provided. ' . print_r($arr,true));
+ return $ret;
+ }
$xchan_hash = make_xchan_hash($arr['guid'],$arr['guid_sig']);
$import_photos = false;