aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/addtopic.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/addtopic.php')
-rw-r--r--mod/groups/addtopic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/addtopic.php b/mod/groups/addtopic.php
index cc02fa4eb..8d62bf19f 100644
--- a/mod/groups/addtopic.php
+++ b/mod/groups/addtopic.php
@@ -10,7 +10,7 @@ group_gatekeeper();
$page_owner = set_page_owner((int) get_input('group_guid'));
-if (!(page_owner_entity() instanceof ElggGroup)) forward();
+if (!(elgg_get_page_owner() instanceof ElggGroup)) forward();
// sort the display
$area2 = elgg_view("forms/forums/addtopic");