diff options
author | jeroenpraat <jeroenpraat@xs4all.nl> | 2014-06-04 14:00:08 +0000 |
---|---|---|
committer | jeroenpraat <jeroenpraat@xs4all.nl> | 2014-06-04 14:00:08 +0000 |
commit | d9688e5ab3bb1c33e432a14ac3455ecb7ca3a6b2 (patch) | |
tree | cd0a06052eb398d0401ca61314d9db8a6ce91599 /include/widgets.php | |
parent | 5869836180d8721363294c5d8dbe64d6b54571c6 (diff) | |
parent | d84f03d59b4b3f625b36852211698f5606b6b37c (diff) | |
download | volse-hubzilla-d9688e5ab3bb1c33e432a14ac3455ecb7ca3a6b2.tar.gz volse-hubzilla-d9688e5ab3bb1c33e432a14ac3455ecb7ca3a6b2.tar.bz2 volse-hubzilla-d9688e5ab3bb1c33e432a14ac3455ecb7ca3a6b2.zip |
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'include/widgets.php')
-rw-r--r-- | include/widgets.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/widgets.php b/include/widgets.php index c7a4da6a0..96bced87f 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -196,7 +196,7 @@ function widget_savedsearch($arr) { $a = get_app(); $search = ((x($_GET,'search')) ? $_GET['search'] : ''); - + if(x($_GET,'searchsave') && $search) { $r = q("select * from `term` where `uid` = %d and `type` = %d and `term` = '%s' limit 1", intval(local_user()), @@ -264,7 +264,7 @@ function widget_savedsearch($arr) { $o = replace_macros($tpl, array( '$title' => t('Saved Searches'), '$add' => t('add'), - '$searchbox' => searchbox('','netsearch-box',$srchurl . (($hasq) ? '' : '?f='),true), + '$searchbox' => searchbox($search,'netsearch-box',$srchurl . (($hasq) ? '' : '?f='),true), '$saved' => $saved, )); |