diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-24 11:59:28 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-24 11:59:28 +0000 |
commit | 9dd54be959fdf218a3ee2891716bd93178240117 (patch) | |
tree | f4064aec8b404b45e50b923d1ecac323df54bcb7 /mod/groups/views/default | |
parent | 7ae14257ed961068f663fbc0889a0858f656d295 (diff) | |
download | elgg-9dd54be959fdf218a3ee2891716bd93178240117.tar.gz elgg-9dd54be959fdf218a3ee2891716bd93178240117.tar.bz2 |
Small tweak to group invite friends so it will show your friends correctly
git-svn-id: http://code.elgg.org/elgg/trunk@6160 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views/default')
-rw-r--r-- | mod/groups/views/default/forms/groups/invite.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/groups/views/default/forms/groups/invite.php b/mod/groups/views/default/forms/groups/invite.php index 07fe7ad97..3e76c5143 100644 --- a/mod/groups/views/default/forms/groups/invite.php +++ b/mod/groups/views/default/forms/groups/invite.php @@ -12,14 +12,13 @@ $group = $vars['entity']; $owner = get_entity($vars['entity']->owner_guid); $forward_url = $group->getURL(); - - $friends = elgg_get_entities_from_relationship($options); $options = array( 'relationship' => 'friend', 'relationship_guid' => get_loggedin_user()->guid, 'type' => 'user', 'limit' => 9999 ); + $friends = elgg_get_entities_from_relationship($options); if ($friends) { ?> <form action="<?php echo $vars['url']; ?>action/groups/invite" method="post" class="margin_top"> |