aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/actions/messages/send.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/messages/actions/messages/send.php')
-rw-r--r--mod/messages/actions/messages/send.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/messages/actions/messages/send.php b/mod/messages/actions/messages/send.php
index f6bac606d..a643b44b4 100644
--- a/mod/messages/actions/messages/send.php
+++ b/mod/messages/actions/messages/send.php
@@ -43,4 +43,4 @@ elgg_clear_sticky_form('messages');
system_message(elgg_echo("messages:posted"));
-forward('pg/messages/inbox/' . get_loggedin_user()->username);
+forward('pg/messages/inbox/' . elgg_get_logged_in_user_entity()->username);