aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/views')
-rw-r--r--mod/groups/views/default/forms/groups/invite.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/views/default/forms/groups/invite.php b/mod/groups/views/default/forms/groups/invite.php
index bd6897ef2..a49bbe2fb 100644
--- a/mod/groups/views/default/forms/groups/invite.php
+++ b/mod/groups/views/default/forms/groups/invite.php
@@ -1,12 +1,12 @@
<?php
/**
- * Elgg groups plugin
+ * Elgg groups invite form
*
* @package ElggGroups
*/
$group = $vars['entity'];
-$owner = get_entity($vars['entity']->owner_guid);
+$owner = $group->getOwnerEntity();
$forward_url = $group->getURL();
$friends = elgg_get_logged_in_user_entity()->getFriends('', 0);