From fa8febbb31dee83d608849e3f1a2f56d664d1f13 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 31 Aug 2016 21:57:08 -0700 Subject: some issues with saved search - tags and connection searches weren't being saved. --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/text.php') 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')) )); } -- cgit v1.2.3