aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/edittopic.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/edittopic.php')
-rw-r--r--mod/groups/edittopic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/edittopic.php b/mod/groups/edittopic.php
index b09efacbe..2c457f53b 100644
--- a/mod/groups/edittopic.php
+++ b/mod/groups/edittopic.php
@@ -12,7 +12,7 @@ get_input('group');
$page_owner = set_page_owner((int)get_input('group'));
// check the user is a member of the group
-if (!(page_owner_entity() instanceof ElggGroup)) forward();
+if (!(elgg_get_page_owner() instanceof ElggGroup)) forward();
//get the topic
$topic = get_entity((int) get_input('topic'));