aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Zot
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-08-21 21:38:10 -0700
committerzotlabs <mike@macgirvin.com>2018-08-21 21:38:10 -0700
commit42c4a0da51c61497427721a7467d1d6c8a09a605 (patch)
tree06f3fc14746acc1e8c61d4db8d6961e9ceca54a1 /Zotlabs/Zot
parent8bf1e3a9449b95307d6d991284dce1addade813a (diff)
downloadvolse-hubzilla-42c4a0da51c61497427721a7467d1d6c8a09a605.tar.gz
volse-hubzilla-42c4a0da51c61497427721a7467d1d6c8a09a605.tar.bz2
volse-hubzilla-42c4a0da51c61497427721a7467d1d6c8a09a605.zip
Zot/Finger: ignore deleted hublocs
Diffstat (limited to 'Zotlabs/Zot')
-rw-r--r--Zotlabs/Zot/Finger.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Zot/Finger.php b/Zotlabs/Zot/Finger.php
index 348171bdc..559f9657a 100644
--- a/Zotlabs/Zot/Finger.php
+++ b/Zotlabs/Zot/Finger.php
@@ -55,7 +55,7 @@ class Finger {
$r = q("select xchan.*, hubloc.* from xchan
left join hubloc on xchan_hash = hubloc_hash
- where xchan_addr = '%s' and hubloc_primary = 1 limit 1",
+ where xchan_addr = '%s' and hubloc_primary = 1 and hubloc_deleted = 0 limit 1",
dbesc($xchan_addr)
);