aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/index.php b/index.php
index 18220a7cb..57cf290df 100644
--- a/index.php
+++ b/index.php
@@ -52,6 +52,7 @@ if (!elgg_trigger_plugin_hook('index', 'system', null, FALSE)) {
// if drop-down login in header option not selected
$login_box = elgg_view('account/login_box');
- $content = elgg_view_layout('one_column_with_sidebar', $title . $activity, $login_box);
- echo elgg_view_page(null, $content);
+ $content = $title . $activity / $login_box;
+ $body = elgg_view_layout('one_column_with_sidebar', array('content' => $content));
+ echo elgg_view_page(null, $body);
}