summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-03-06 22:03:36 +0000
committerDries Buytaert <dries@buytaert.net>2003-03-06 22:03:36 +0000
commitd5fe0cfe2017241094a84e4c4fb6bfdf1928f8eb (patch)
tree29ed4a1fc8d1acbf2e086235a242bcfbf7c1a251
parentffc893d55a3f2d23ab60beecc71c481ba8cca924 (diff)
downloadbrdo-d5fe0cfe2017241094a84e4c4fb6bfdf1928f8eb.tar.gz
brdo-d5fe0cfe2017241094a84e4c4fb6bfdf1928f8eb.tar.bz2
- Fixed bug in search.module: slashes where escaped twice.
-rw-r--r--modules/search.module6
-rw-r--r--modules/search/search.module6
2 files changed, 0 insertions, 12 deletions
diff --git a/modules/search.module b/modules/search.module
index ab56bbcec..ecefa8e32 100644
--- a/modules/search.module
+++ b/modules/search.module
@@ -307,12 +307,6 @@ function search_view() {
global $edit, $type, $keys;
if (user_access("search content")) {
-
- // Verify the user input:
- // TODO: is this necessary or is it / should it be done in search_{form|data}?
- $type = check_input($type);
- $keys = check_input($keys);
-
// Construct the search form:
$form = search_form(NULL, NULL, TRUE);
diff --git a/modules/search/search.module b/modules/search/search.module
index ab56bbcec..ecefa8e32 100644
--- a/modules/search/search.module
+++ b/modules/search/search.module
@@ -307,12 +307,6 @@ function search_view() {
global $edit, $type, $keys;
if (user_access("search content")) {
-
- // Verify the user input:
- // TODO: is this necessary or is it / should it be done in search_{form|data}?
- $type = check_input($type);
- $keys = check_input($keys);
-
// Construct the search form:
$form = search_form(NULL, NULL, TRUE);