aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/groups/all.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/groups/all.php b/mod/groups/all.php
index cf1a483b1..6e472459d 100644
--- a/mod/groups/all.php
+++ b/mod/groups/all.php
@@ -60,8 +60,11 @@
}
$area1 .= elgg_view("groups/group_sort_menu", array("count" => $group_count, "filter" => $filter)) . $objects;
- $content = $area1 . $area2;
- $body = elgg_view_layout('one_column_with_sidebar', array('content' => $content));
+ $params = array(
+ 'content' => $area1,
+ 'sidebar' => $area2
+ );
+ $body = elgg_view_layout('one_column_with_sidebar', $params);
// Finally draw the page
echo elgg_view_page($title, $body); \ No newline at end of file