some issues with saved search - tags and connection searches weren't being saved.

This commit is contained in:
redmatrix
2016-08-31 21:57:08 -07:00
parent 8ba1bf02a4
commit fa8febbb31
5 changed files with 45 additions and 3 deletions

View File

@@ -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'))
));
}