aboutsummaryrefslogtreecommitdiff
path: root/mod/groups
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-15 17:10:42 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-15 17:10:42 +0000
commitaab850faff6f1bb723b37329bd216b749ae42ffa (patch)
tree1e8f9d1a2dfe36b64c94c5bdb521285aaf35e5b8 /mod/groups
parent18a777064d8355191505b042015a7225c8724f68 (diff)
downloadelgg-aab850faff6f1bb723b37329bd216b749ae42ffa.tar.gz
elgg-aab850faff6f1bb723b37329bd216b749ae42ffa.tar.bz2
Ensured that all friends come through for group invite
git-svn-id: https://code.elgg.org/elgg/trunk@1944 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups')
-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));