aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/topicposts.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/topicposts.php')
-rw-r--r--mod/groups/topicposts.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/groups/topicposts.php b/mod/groups/topicposts.php
index ea8a82bac..b530404b6 100644
--- a/mod/groups/topicposts.php
+++ b/mod/groups/topicposts.php
@@ -21,6 +21,8 @@
set_page_owner(get_input('group_guid'));
if (!(page_owner_entity() instanceof ElggGroup)) forward();
+ group_gatekeeper();
+
// get the entity from id
$topic = get_entity(get_input('topic'));
if (!$topic) forward();