diff options
author | Mario <mario@mariovavti.com> | 2020-04-18 11:30:19 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-04-18 11:30:19 +0000 |
commit | 3d5fdd086be63bb8e9a889bfe593b3aaa4b4a6a2 (patch) | |
tree | a53522c91fa2910ad5562976d1f05dec9d4f448b | |
parent | 223c4c7b9a01f70106e0ae0b72da4a13235af56c (diff) | |
download | volse-hubzilla-3d5fdd086be63bb8e9a889bfe593b3aaa4b4a6a2.tar.gz volse-hubzilla-3d5fdd086be63bb8e9a889bfe593b3aaa4b4a6a2.tar.bz2 volse-hubzilla-3d5fdd086be63bb8e9a889bfe593b3aaa4b4a6a2.zip |
only return hublocs with hubloc_id_url set
-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 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']; |