aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/invite.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/invite.php')
-rw-r--r--mod/groups/invite.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/mod/groups/invite.php b/mod/groups/invite.php
index ee6c028ad..adab0f408 100644
--- a/mod/groups/invite.php
+++ b/mod/groups/invite.php
@@ -10,10 +10,12 @@
*/
require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
- gatekeeper();
+ gatekeeper();
+
+ $group_guid = (int) get_input('group_guid');
+ $group = get_entity($group_guid);
+ set_page_owner($group_guid);
- $group_guid = get_input('group_guid');
- $group = get_entity($group_guid);
$title = elgg_echo("groups:invite");
$area2 = elgg_view_title($title);