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 47eefecd9..cf47ebda8 100644
--- a/includes/search.inc
+++ b/includes/search.inc
@@ -11,7 +11,7 @@ function search_form($keys) {
function search_data($keys, $type) {
if ($keys && $type) {
- $result = module_execute($type, "find", $keys);
+ $result = module_execute($type, "find", check_input($keys));
foreach ($result as $entry) {
$output .= "<P>\n";
$output .= " <B><U><A HREF=\"$entry[link]\">$entry[title]</A></U></B><BR>";