From ad4aaef7a487c01e8448c3371005826b4b51d9fc Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Wed, 26 Aug 2009 13:39:01 +0200 Subject: reshow $QUERY in search form instead of super global darcs-hash:20090826113901-6e07b-8b7cb115629cd20ea2b145c4d955e83f270f5ef2.gz --- inc/template.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'inc/template.php') diff --git a/inc/template.php b/inc/template.php index 0c528c800..f84f2ed11 100644 --- a/inc/template.php +++ b/inc/template.php @@ -781,6 +781,7 @@ function tpl_action($type,$link=0,$wrapper=false,$return=false,$pre='',$suf='',$ function tpl_searchform($ajax=true,$autocomplete=true){ global $lang; global $ACT; + global $QUERY; // don't print the search form if search action has been disabled if (!actionOk('search')) return false; @@ -788,7 +789,7 @@ function tpl_searchform($ajax=true,$autocomplete=true){ print '