aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/all.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/all.php')
-rw-r--r--mod/groups/all.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/groups/all.php b/mod/groups/all.php
index 5ba34947e..97e5126e3 100644
--- a/mod/groups/all.php
+++ b/mod/groups/all.php
@@ -52,7 +52,9 @@
$area1 .= elgg_view("groups/side_menu");
//featured groups
- $area1 .= elgg_view("groups/featured");
+ $featured_groups = get_entities_from_metadata("featured_group", "yes", "group", "", 0, 10, false, false, false);
+ $area1 .= elgg_view("groups/featured", array("featured" => $featured_groups));
+
set_context($context);