diff options
-rw-r--r-- | mod/groups/views/default/forms/groups/invite.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/groups/views/default/forms/groups/invite.php b/mod/groups/views/default/forms/groups/invite.php index c1b13761d..d1d3c09b1 100644 --- a/mod/groups/views/default/forms/groups/invite.php +++ b/mod/groups/views/default/forms/groups/invite.php @@ -19,8 +19,11 @@ <form action="<?php echo $vars['url']; ?>action/groups/addtogroup" method="post"> <?php - - echo elgg_view('sharing/invite',array('shares' => $shares, 'owner' => $owner, 'group' => $group)); +
+ if ($friends = get_entities_from_relationship('friend',$owner->getGUID(),false,'user','')) {
+ echo elgg_view('friends/picker',array('entities' => $friends, 'internalname' => 'user_guid'));
+ } + // echo elgg_view('sharing/invite',array('shares' => $shares, 'owner' => $owner, 'group' => $group)); ?> <input type="hidden" name="forward_url" value="<?php echo $forward_url; ?>" /> |