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 84ec7e124..561eaa3ce 100644
--- a/mod/messages/read.php
+++ b/mod/messages/read.php
@@ -37,7 +37,7 @@ if ($inbox) {
$body_params = array('message' => $message);
$content .= elgg_view_form('messages/reply', $form_params, $body_params);
- if (get_loggedin_userid() == elgg_get_page_owner_guid()) {
+ if (elgg_get_logged_in_user_guid() == elgg_get_page_owner_guid()) {
$buttons = elgg_view('output/url', array(
'text' => elgg_echo('messages:answer'),
'class' => 'elgg-action-button',