aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/send.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/messages/send.php')
-rw-r--r--mod/messages/send.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/messages/send.php b/mod/messages/send.php
index 1f31e9e02..884c20cca 100644
--- a/mod/messages/send.php
+++ b/mod/messages/send.php
@@ -7,7 +7,7 @@
gatekeeper();
-$page_owner = get_loggedin_user();
+$page_owner = elgg_get_logged_in_user_entity();
set_page_owner($page_owner->getGUID());
$title = elgg_echo('messages:add');