summaryrefslogtreecommitdiffstats
path: root/src/search_php.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/search_php.h')
-rw-r--r--src/search_php.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search_php.h b/src/search_php.h
index f155f5f..afbfc74 100644
--- a/src/search_php.h
+++ b/src/search_php.h
@@ -288,7 +288,7 @@
" {\n"
" $query=$_GET[\"query\"];\n"
" }\n"
-" end_form($query);\n"
+" end_form(ereg_replace(\"[^[:alnum:]:\\\\.\\\\t ]\", \" \", $query ));\n"
" echo \"&nbsp;\\n<div class=\\\"searchresults\\\">\\n\";\n"
" $results = array();\n"
" $requiredWords = array();\n"