diff options
author | Mario <mario@mariovavti.com> | 2020-04-18 14:09:08 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-04-18 14:09:08 +0000 |
commit | 109f9eed611949bdd1d03183e8e05d1236a38ac7 (patch) | |
tree | 5ac3e2359bed05f883ff7fc693ba90eb9aa87db2 /Zotlabs/Lib/Activity.php | |
parent | c7fdc5379595d8829f916032c73f3126abfd37b4 (diff) | |
download | volse-hubzilla-109f9eed611949bdd1d03183e8e05d1236a38ac7.tar.gz volse-hubzilla-109f9eed611949bdd1d03183e8e05d1236a38ac7.tar.bz2 volse-hubzilla-109f9eed611949bdd1d03183e8e05d1236a38ac7.zip |
just fetch the info we need
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r-- | Zotlabs/Lib/Activity.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index f3421c3fa..f80f71a74 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' and hubloc_id_url != '' limit 1", + $r = q("select hubloc_network, hubloc_hash, hubloc_id_url from hubloc where hubloc_id_url = '%s' and hubloc_id_url != '' limit 1", dbesc($url) ); |