diff options
Diffstat (limited to 'mod/groups/groupprofile.php')
-rw-r--r-- | mod/groups/groupprofile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/groupprofile.php b/mod/groups/groupprofile.php index f0e6854ee..a64ca55db 100644 --- a/mod/groups/groupprofile.php +++ b/mod/groups/groupprofile.php @@ -33,7 +33,7 @@ //group members $area3 = elgg_view('groups/members',array('entity' => $group)); } else { - $area2 .= elgg_view('groups/closedmembership', array('entity' => $group, 'user' => $_SESSION['user'], 'full' => true)); + $area2 .= elgg_view('groups/closedmembership', array('entity' => $group, 'user' => get_loggedin_user(), 'full' => true)); } $body = elgg_view_layout('one_column_with_sidebar', $area1.$area2, $area3); |