Skip to content
Snippets Groups Projects
Commit 156dbd62 authored by Gina Haeussge's avatar Gina Haeussge
Browse files

FS#2038: Use GET for the search form

parent decde61c
No related branches found
No related tags found
No related merge requests found
......@@ -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).'" ';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment