From 156dbd62fa3d65e4ee1f4a97e77e7705edefb03b Mon Sep 17 00:00:00 2001 From: Gina Haeussge <gina@foosel.net> Date: Sat, 2 Oct 2010 15:52:09 +0200 Subject: [PATCH] FS#2038: Use GET for the search form --- inc/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/template.php b/inc/template.php index 4eed30591..2693c485b 100644 --- a/inc/template.php +++ b/inc/template.php @@ -664,7 +664,7 @@ function tpl_searchform($ajax=true,$autocomplete=true){ // don't print the search form if search action has been disabled if (!actionOk('search')) return false; - print '<form action="'.wl().'" accept-charset="utf-8" class="search" id="dw__search"><div class="no">'; + print '<form action="'.wl().'" accept-charset="utf-8" class="search" id="dw__search" method="get"><div class="no">'; print '<input type="hidden" name="do" value="search" />'; print '<input type="text" '; if($ACT == 'search') print 'value="'.htmlspecialchars($QUERY).'" '; -- GitLab