aboutsummaryrefslogtreecommitdiff
path: root/mod/search/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/search/index.php')
-rw-r--r--mod/search/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/search/index.php b/mod/search/index.php
index 705f6e0a8..c68fb4a0f 100644
--- a/mod/search/index.php
+++ b/mod/search/index.php
@@ -140,7 +140,7 @@ if (!$query) {
$body .= elgg_view('page_elements/elgg_content', array('body' => elgg_echo('search:no_query')));
$layout = elgg_view_layout('one_column_with_sidebar', $body);
- page_draw($title, $layout);
+ echo elgg_view_page($title, $layout);
return;
}
@@ -260,4 +260,4 @@ $layout = elgg_view($layout_view, array('params' => $params, 'body' => $body));
$title = sprintf(elgg_echo('search:results'), "\"{$params['query']}\"");
-page_draw($title, $layout);
+echo elgg_view_page($title, $layout);