aboutsummaryrefslogtreecommitdiff
path: root/mod/search
diff options
context:
space:
mode:
Diffstat (limited to 'mod/search')
-rw-r--r--mod/search/index.php2
-rw-r--r--mod/search/views/default/search/layout.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/search/index.php b/mod/search/index.php
index 035401640..7f7be9860 100644
--- a/mod/search/index.php
+++ b/mod/search/index.php
@@ -139,7 +139,7 @@ if (!$query) {
$body = elgg_view_title(elgg_echo('search:search_error'));
$body .= elgg_view('page_elements/content', array('body' => elgg_echo('search:no_query')));
- $layout = elgg_view_layout('one_column_with_sidebar', $body);
+ $layout = elgg_view_layout('one_column_with_sidebar', array('content' => $body));
echo elgg_view_page($title, $layout);
return;
diff --git a/mod/search/views/default/search/layout.php b/mod/search/views/default/search/layout.php
index 732415f0e..82f191e8c 100644
--- a/mod/search/views/default/search/layout.php
+++ b/mod/search/views/default/search/layout.php
@@ -6,4 +6,4 @@
* @subpackage Core
*/
-echo elgg_view_layout('one_column_with_sidebar', $vars['body']); \ No newline at end of file
+echo elgg_view_layout('one_column_with_sidebar', array('content' => $vars['body'])); \ No newline at end of file