aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/read.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/messages/read.php')
-rw-r--r--mod/messages/read.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/messages/read.php b/mod/messages/read.php
index 0c0fa60dd..5a735f18e 100644
--- a/mod/messages/read.php
+++ b/mod/messages/read.php
@@ -13,7 +13,7 @@ if (!$message) {
}
elgg_set_page_owner_guid($message->getOwnerGUID());
-$page_owner = elgg_get_page_owner();
+$page_owner = elgg_get_page_owner_entity();
$title = $message->title;