summaryrefslogtreecommitdiff
path: root/includes/search.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/search.inc')
-rw-r--r--includes/search.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/search.inc b/includes/search.inc
index 11247c525..f15db5ee6 100644
--- a/includes/search.inc
+++ b/includes/search.inc
@@ -10,7 +10,7 @@ function search_form($keys) {
}
function search_data($keys, $type) {
- if ($keys && $type && $result = module_invoke($type, "search", check_input($keys))) {
+ if ($keys && $type && $result = module_invoke($type, "search", check_query($keys))) {
foreach ($result as $entry) {
$output .= "<P>\n";
$output .= " <B><U><A HREF=\"$entry[link]\">$entry[title]</A></U></B><BR>";