From 9dd54be959fdf218a3ee2891716bd93178240117 Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 24 May 2010 11:59:28 +0000 Subject: 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 --- mod/groups/views/default/forms/groups/invite.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mod/groups') 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) { ?>
-- cgit v1.2.3