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 88c91486b..ff251dddc 100644
--- a/mod/search/index.php
+++ b/mod/search/index.php
@@ -132,9 +132,9 @@ foreach ($custom_types as $type) {
// check that we have an actual query
if (!$query) {
$body = elgg_view_title(elgg_echo('search:search_error'));
- $body .= elgg_view('page_elements/contentwrapper', array('body' => elgg_echo('search:no_query')));
+ $body .= elgg_view('page_elements/elgg_content', array('body' => elgg_echo('search:no_query')));
- $layout = elgg_view_layout('two_column_left_sidebar', '', $body);
+ $layout = elgg_view_layout('one_column_with_sidebar', '', $body);
page_draw($title, $layout);
return;