aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-10-06 10:01:20 +0000
committerMario <mario@mariovavti.com>2020-10-06 10:01:20 +0000
commit5dd1ea21afcd4df9e91e6e215cb8ae1d32f5616e (patch)
treeab6a40875941813f50f3411315037b06f9202f5e /Zotlabs
parentb37c8bf9287efd3ae810560be356ba96848a2573 (diff)
downloadvolse-hubzilla-5dd1ea21afcd4df9e91e6e215cb8ae1d32f5616e.tar.gz
volse-hubzilla-5dd1ea21afcd4df9e91e6e215cb8ae1d32f5616e.tar.bz2
volse-hubzilla-5dd1ea21afcd4df9e91e6e215cb8ae1d32f5616e.zip
5.0RC testing: dismiss activities where an author could not be found
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/Libzot.php4
1 files changed, 4 insertions, 0 deletions
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'])