aboutsummaryrefslogtreecommitdiff
path: root/mod/members
diff options
context:
space:
mode:
Diffstat (limited to 'mod/members')
-rw-r--r--mod/members/index.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/mod/members/index.php b/mod/members/index.php
index 5a461d5e8..a4f21da13 100644
--- a/mod/members/index.php
+++ b/mod/members/index.php
@@ -74,7 +74,11 @@ switch($filter){
$area2 .= elgg_view('page_elements/content', array('body' => elgg_view("members/members_navigation", array("count" => $members, "filter" => $filter)) . "<div class='members_list'>".$filter_content."</div>", 'subclass' => 'members'));
//select the correct canvas area
-$body = elgg_view_layout("one_column_with_sidebar", $area2, $area1);
+$params = array(
+ 'content' => $area2,
+ 'sidebar' => $area1
+);
+$body = elgg_view_layout("one_column_with_sidebar", $params);
// Display page
echo elgg_view_page(elgg_echo('members:members', array($page_owner->name)), $body); \ No newline at end of file