aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Activity.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-04-18 13:59:30 +0000
committerMario <mario@mariovavti.com>2020-04-18 13:59:30 +0000
commitc7fdc5379595d8829f916032c73f3126abfd37b4 (patch)
tree412a9eb4db620427c79a6ee62aecdc2236cf9c75 /Zotlabs/Lib/Activity.php
parent602ca91700fa314265b4f65a04465347e68f53db (diff)
downloadvolse-hubzilla-c7fdc5379595d8829f916032c73f3126abfd37b4.tar.gz
volse-hubzilla-c7fdc5379595d8829f916032c73f3126abfd37b4.tar.bz2
volse-hubzilla-c7fdc5379595d8829f916032c73f3126abfd37b4.zip
more do not include hublocs with no hubloc_id_url
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r--Zotlabs/Lib/Activity.php2
1 files changed, 1 insertions, 1 deletions
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)
);