aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-08-31 21:57:08 -0700
committerredmatrix <mike@macgirvin.com>2016-08-31 21:57:08 -0700
commitfa8febbb31dee83d608849e3f1a2f56d664d1f13 (patch)
tree62d250109a876df4afafd2f3f1cead0095c14384 /include/text.php
parent8ba1bf02a479941740847cd9fad707f2fc86390c (diff)
downloadvolse-hubzilla-fa8febbb31dee83d608849e3f1a2f56d664d1f13.tar.gz
volse-hubzilla-fa8febbb31dee83d608849e3f1a2f56d664d1f13.tar.bz2
volse-hubzilla-fa8febbb31dee83d608849e3f1a2f56d664d1f13.zip
some issues with saved search - tags and connection searches weren't being saved.
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 99ac59ca7..2c7716d11 100644
--- a/include/text.php
+++ b/include/text.php
@@ -936,7 +936,7 @@ function searchbox($s,$id='search-box',$url='/search',$save = false) {
'$action_url' => z_root() . '/' . $url,
'$search_label' => t('Search'),
'$save_label' => t('Save'),
- '$savedsearch' => feature_enabled(local_channel(),'savedsearch')
+ '$savedsearch' => ($save && feature_enabled(local_channel(),'savedsearch'))
));
}