aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Search_ac.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module/Search_ac.php')
-rw-r--r--Zotlabs/Module/Search_ac.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Search_ac.php b/Zotlabs/Module/Search_ac.php
index 78bcf374d..4e936d97b 100644
--- a/Zotlabs/Module/Search_ac.php
+++ b/Zotlabs/Module/Search_ac.php
@@ -46,7 +46,7 @@ class Search_ac extends \Zotlabs\Web\Controller {
}
}
- $r = q("select distinct term, tid, url from term where type in ( %d, %d ) $tag_sql_extra group by term order by term asc",
+ $r = q("select distinct term, tid, url from term where ttype in ( %d, %d ) $tag_sql_extra group by term order by term asc",
intval(TERM_HASHTAG),
intval(TERM_COMMUNITYTAG)
);