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, 1 insertions, 1 deletions
diff --git a/mod/groups/topicposts.php b/mod/groups/topicposts.php
index afd916ad2..d3ba05ead 100644
--- a/mod/groups/topicposts.php
+++ b/mod/groups/topicposts.php
@@ -15,7 +15,7 @@
//get_input('group_guid');
set_page_owner(get_input('group_guid'));
- if (!(page_owner_entity() instanceof ElggGroup)) forward();
+ if (!(elgg_get_page_owner() instanceof ElggGroup)) forward();
group_gatekeeper();