summaryrefslogtreecommitdiff
path: root/modules/search.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/search.module')
-rw-r--r--modules/search.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/search.module b/modules/search.module
index 6a43604d8..bf5eaa880 100644
--- a/modules/search.module
+++ b/modules/search.module
@@ -162,7 +162,7 @@ function search_admin() {
$group .= form_textfield(t('Minimum word length to search for'), 'remove_short', variable_get('remove_short', 3), 3, 3, t('The number of characters a word has to be to be searched for, including wildcard characters.'));
$output .= form_group(t('Indexing settings'), $group);
- print theme('page', system_settings_form($output));
+ return system_settings_form($output);
}
/**
@@ -598,7 +598,7 @@ function search_view() {
$output .= $results;
- print theme('page', $output);
+ return $output;
}
else {
drupal_access_denied();