aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/forum.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/forum.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/forum.php')
-rw-r--r--mod/groups/forum.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/groups/forum.php b/mod/groups/forum.php
index dd4b734b2..910d35929 100644
--- a/mod/groups/forum.php
+++ b/mod/groups/forum.php
@@ -14,6 +14,8 @@
set_page_owner((int)get_input('group_guid'));
if (!(page_owner_entity() instanceof ElggGroup)) forward();
+ group_gatekeeper();
+
//get any forum topics
//get any forum topics
$topics = list_entities_from_annotations("object", "groupforumtopic", "group_topic_post", "", 20, 0, get_input('group_guid'), false, false, false);