From 3d5fdd086be63bb8e9a889bfe593b3aaa4b4a6a2 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 18 Apr 2020 11:30:19 +0000 Subject: only return hublocs with hubloc_id_url set --- Zotlabs/Lib/Activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Lib/Activity.php') diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 2ba693049..24214072a 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -939,7 +939,7 @@ class Activity { $tmp = expand_acl($i['allow_cid']); $list = stringify_array($tmp,true); if ($list) { - $details = q("select hubloc_id_url from hubloc where hubloc_hash in (" . $list . ") "); + $details = q("select hubloc_id_url from hubloc where hubloc_hash in (" . $list . ") and hubloc_id_url != ''"); if ($details) { foreach ($details as $d) { $ret[] = $d['hubloc_id_url']; -- cgit v1.2.3