From 802a5c2946dbb03e3869e4c4b2b22c557149847e Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 12 Aug 2014 20:46:33 -0700 Subject: 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. --- include/zot.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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; -- cgit v1.2.3