aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/topicposts.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-24 11:22:42 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-24 11:22:42 +0000
commit420bd55dadd43bd47607b38aa6963af9fe7aeaa5 (patch)
treea244190c3cb3a04f13198686689aaf775a9e68a1 /mod/groups/topicposts.php
parent4b6800c01e2701c7c89f46a6fb27c15670f1fdb6 (diff)
downloadelgg-420bd55dadd43bd47607b38aa6963af9fe7aeaa5.tar.gz
elgg-420bd55dadd43bd47607b38aa6963af9fe7aeaa5.tar.bz2
Group gatekeeper on internal group pages.
git-svn-id: https://code.elgg.org/elgg/trunk@2917 36083f99-b078-4883-b0ff-0f9b5a30f544
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();