summaryrefslogtreecommitdiff
path: root/modules/search.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-10-09 21:01:47 +0000
committerDries Buytaert <dries@buytaert.net>2001-10-09 21:01:47 +0000
commitf1932821bedfe603eb7a5a7c210e0a7e4c1b4157 (patch)
tree9686b19c30d852f11d5e85f7db104fcf24e22a67 /modules/search.module
parent47c6fce5ce33e510fb3a4e51ce7c34db082590c4 (diff)
downloadbrdo-f1932821bedfe603eb7a5a7c210e0a7e4c1b4157.tar.gz
brdo-f1932821bedfe603eb7a5a7c210e0a7e4c1b4157.tar.bz2
- PEAR-ification of Drupal by claw: you can now host Drupal on a wide
range of databases including MySQL, PostgreSQL, MSSQL, and others. For additional information and an 'how to upgrade', check the mails sent to the mailing list.
Diffstat (limited to 'modules/search.module')
-rw-r--r--modules/search.module9
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/search.module b/modules/search.module
index e047f6ca9..91d395678 100644
--- a/modules/search.module
+++ b/modules/search.module
@@ -29,6 +29,13 @@ function search_page() {
if (user_access("search content")) {
/*
+ ** Verify the user input:
+ */
+
+ $type = check_input($type);
+ $keys = check_input($keys);
+
+ /*
** Construct the search form:
*/
@@ -88,4 +95,4 @@ function search_page() {
}
}
-?> \ No newline at end of file
+?>