aboutsummaryrefslogtreecommitdiffstats
path: root/mod/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/search.php')
-rw-r--r--mod/search.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/search.php b/mod/search.php
index 048ed80e1..3f34587ef 100644
--- a/mod/search.php
+++ b/mod/search.php
@@ -2,6 +2,9 @@
function search_saved_searches() {
+ if(! feature_enabled(local_user(),'savedsearch'))
+ return '';
+
$o = '';
$r = q("select `tid`,`term` from `term` WHERE `uid` = %d and type = %d",