aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2023-05-07 10:03:27 +0200
committerMario Vavti <mario@mariovavti.com>2023-05-07 10:03:27 +0200
commitf995b2822fcc3faa1b7da09367506610bc233e88 (patch)
tree8a18c7cc1a515367c0b8ea7361ee8c1d6a9f9b6c /Zotlabs
parentd7490ac7388cc400a3c9dc9d6817e01ba46839ff (diff)
downloadvolse-hubzilla-f995b2822fcc3faa1b7da09367506610bc233e88.tar.gz
volse-hubzilla-f995b2822fcc3faa1b7da09367506610bc233e88.tar.bz2
volse-hubzilla-f995b2822fcc3faa1b7da09367506610bc233e88.zip
exclude deleted hublocs
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Dirsearch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Dirsearch.php b/Zotlabs/Module/Dirsearch.php
index c31d5f0ee..7efac6345 100644
--- a/Zotlabs/Module/Dirsearch.php
+++ b/Zotlabs/Module/Dirsearch.php
@@ -100,7 +100,7 @@ class Dirsearch extends Controller {
}
if($hub) {
- $hub_query = " and xchan_hash in (select hubloc_hash from hubloc where hubloc_host = '" . protect_sprintf(dbesc($hub)) . "') ";
+ $hub_query = " and xchan_hash in (select hubloc_hash from hubloc where hubloc_deleted = 0 and hubloc_host = '" . protect_sprintf(dbesc($hub)) . "') ";
}