From c7fdc5379595d8829f916032c73f3126abfd37b4 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 18 Apr 2020 13:59:30 +0000 Subject: more do not include hublocs with no hubloc_id_url --- Zotlabs/Lib/Activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 24214072a..f3421c3fa 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -956,7 +956,7 @@ class Activity { // The xchan_url for mastodon is a text/html rendering. This is called from map_mentions where we need // to convert the mention url to an ActivityPub id. If this fails for any reason, return the url we have - $r = q("select * from hubloc where hubloc_id_url = '%s' limit 1", + $r = q("select * from hubloc where hubloc_id_url = '%s' and hubloc_id_url != '' limit 1", dbesc($url) ); -- cgit v1.2.3