aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-06-25 23:20:02 -0700
committerzotlabs <mike@macgirvin.com>2018-06-25 23:20:02 -0700
commit524551a05c9ea7436afc713e2564aacd9276541e (patch)
tree60cab614383477dc9fefeadef235085b15c6852a /Zotlabs
parentb89387d60840595ab13343a05cc4294c51a9152b (diff)
downloadvolse-hubzilla-524551a05c9ea7436afc713e2564aacd9276541e.tar.gz
volse-hubzilla-524551a05c9ea7436afc713e2564aacd9276541e.tar.bz2
volse-hubzilla-524551a05c9ea7436afc713e2564aacd9276541e.zip
do not include system channels in directory results
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 08f1f7a13..81942860f 100644
--- a/Zotlabs/Module/Dirsearch.php
+++ b/Zotlabs/Module/Dirsearch.php
@@ -257,7 +257,7 @@ class Dirsearch extends \Zotlabs\Web\Controller {
else {
$r = q("SELECT xchan.*, xprof.* from xchan left join xprof on xchan_hash = xprof_hash
- where ( $logic $sql_extra ) $hub_query and xchan_network = 'zot' and xchan_hidden = 0 and xchan_orphan = 0 and xchan_deleted = 0
+ where ( $logic $sql_extra ) $hub_query and xchan_network = 'zot' and xchan_system = 0 and xchan_hidden = 0 and xchan_orphan = 0 and xchan_deleted = 0
$safesql $order $qlimit "
);