aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/actions/forums/edittopic.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/actions/forums/edittopic.php')
-rw-r--r--mod/groups/actions/forums/edittopic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/actions/forums/edittopic.php b/mod/groups/actions/forums/edittopic.php
index 247c06c8c..b032e37d7 100644
--- a/mod/groups/actions/forums/edittopic.php
+++ b/mod/groups/actions/forums/edittopic.php
@@ -26,7 +26,7 @@ $tagarray = string_to_tag_array($tags);
// Make sure we actually have permission to edit
$topic = get_entity($topic_guid);
if ($topic){
- $user = $topic->getOwner();
+ $user = $topic->getOwnerGUID();
if ($topic->getSubtype() == "groupforumtopic") {
// Convert string of tags into a preformatted array