From: cash Date: Sun, 14 Nov 2010 21:22:58 +0000 (+0000) Subject: fixed bug where the front page wasn't being populated with the views X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=202241825d11a2b7952e42a222857da90921bdca;p=lorea%2Felgg.git 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 --- 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); }