diff options
Diffstat (limited to 'mod/groups/edittopic.php')
-rw-r--r-- | mod/groups/edittopic.php | 2 |
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')); |