From 5dd1ea21afcd4df9e91e6e215cb8ae1d32f5616e Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 6 Oct 2020 10:01:20 +0000 Subject: 5.0RC testing: dismiss activities where an author could not be found --- Zotlabs/Lib/Libzot.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Zotlabs') diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php index f16f5258a..44f1f399e 100644 --- a/Zotlabs/Lib/Libzot.php +++ b/Zotlabs/Lib/Libzot.php @@ -1212,6 +1212,10 @@ class Libzot { $arr['author_xchan'] = $r['hubloc_hash']; } + if (! $arr['author_xchan']) { + logger('No author!'); + return; + } $s = q("select hubloc_hash from hubloc where hubloc_id_url = '%s' and hubloc_network = 'zot6' limit 1", dbesc($env['sender']) -- cgit v1.2.3