aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-04-18 11:30:19 +0000
committerMario <mario@mariovavti.com>2020-04-18 11:30:19 +0000
commit3d5fdd086be63bb8e9a889bfe593b3aaa4b4a6a2 (patch)
treea53522c91fa2910ad5562976d1f05dec9d4f448b /Zotlabs
parent223c4c7b9a01f70106e0ae0b72da4a13235af56c (diff)
downloadvolse-hubzilla-3d5fdd086be63bb8e9a889bfe593b3aaa4b4a6a2.tar.gz
volse-hubzilla-3d5fdd086be63bb8e9a889bfe593b3aaa4b4a6a2.tar.bz2
volse-hubzilla-3d5fdd086be63bb8e9a889bfe593b3aaa4b4a6a2.zip
only return hublocs with hubloc_id_url set
Diffstat (limited to 'Zotlabs')
-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 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'];