aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/groupprofile.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/groupprofile.php')
-rw-r--r--mod/groups/groupprofile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/groupprofile.php b/mod/groups/groupprofile.php
index c1b65c14b..41e2de918 100644
--- a/mod/groups/groupprofile.php
+++ b/mod/groups/groupprofile.php
@@ -28,7 +28,7 @@
if (!$groupaccess)
$view_all = false;
- $area2 .= elgg_view('group/group', array('entity' => $group, 'user' => $_SESSION['user'], 'full' => true));
+ $area2 .= elgg_view_entity($group, TRUE);
if ($view_all) {
//group profile 'items' - these are not real widgets, just contents to display