aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-14 21:22:58 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-14 21:22:58 +0000
commit202241825d11a2b7952e42a222857da90921bdca (patch)
treeb7e88ed2834b768dce33f5ee030913503c1e4cec /index.php
parent65bd34af7528779c4f4cc3a7a49205377498115c (diff)
downloadelgg-202241825d11a2b7952e42a222857da90921bdca.tar.gz
elgg-202241825d11a2b7952e42a222857da90921bdca.tar.bz2
fixed bug where the front page wasn't being populated with the views
git-svn-id: http://code.elgg.org/elgg/trunk@7316 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'index.php')
-rw-r--r--index.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/index.php b/index.php
index 57cf290df..309225698 100644
--- a/index.php
+++ b/index.php
@@ -52,7 +52,11 @@ 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 = $title . $activity / $login_box;
- $body = elgg_view_layout('one_column_with_sidebar', array('content' => $content));
+ $content = $title . $activity;
+ $params = array(
+ 'content' => $content,
+ 'sidebar' => $login_box
+ );
+ $body = elgg_view_layout('one_column_with_sidebar', $params);
echo elgg_view_page(null, $body);
}