aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/views/default')
-rw-r--r--mod/groups/views/default/forms/groups/invite.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/views/default/forms/groups/invite.php b/mod/groups/views/default/forms/groups/invite.php
index 4f673dba9..723bff5c7 100644
--- a/mod/groups/views/default/forms/groups/invite.php
+++ b/mod/groups/views/default/forms/groups/invite.php
@@ -20,7 +20,7 @@
<?php
- if ($friends = get_entities_from_relationship('friend',$owner->getGUID(),false,'user','',0,'',9999)) {
+ if ($friends = get_entities_from_relationship('friend',$_SESSION['guid'],false,'user','',0,'',9999)) {
echo elgg_view('friends/picker',array('entities' => $friends, 'internalname' => 'user_guid'));
}
// echo elgg_view('sharing/invite',array('shares' => $shares, 'owner' => $owner, 'group' => $group));