aboutsummaryrefslogtreecommitdiff
path: root/mod/messages
diff options
context:
space:
mode:
authorEvan Winslow <evan@elgg.org>2012-11-11 16:17:59 -0800
committerEvan Winslow <evan@elgg.org>2012-11-11 16:17:59 -0800
commitff19c7ba9265a396d34182f369ee4e4c3269a438 (patch)
treeafa9e59f1570a41681e432eb2c7c24dcdbd1eb36 /mod/messages
parent9b714e32ad6bddbaddbbf278fa82dbb3308bb412 (diff)
downloadelgg-ff19c7ba9265a396d34182f369ee4e4c3269a438.tar.gz
elgg-ff19c7ba9265a396d34182f369ee4e4c3269a438.tar.bz2
Fixes typo in messages permissions check
Diffstat (limited to 'mod/messages')
-rw-r--r--mod/messages/pages/messages/read.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/messages/pages/messages/read.php b/mod/messages/pages/messages/read.php
index eb36eaa4b..a64623564 100644
--- a/mod/messages/pages/messages/read.php
+++ b/mod/messages/pages/messages/read.php
@@ -38,7 +38,7 @@ if ($inbox) {
);
$body_params = array('message' => $message);
$content .= elgg_view_form('messages/reply', $form_params, $body_params);
- $from_user = get_user($message->fromID);
+ $from_user = get_user($message->fromId);
if (elgg_get_logged_in_user_guid() == elgg_get_page_owner_guid() && $from_user) {
elgg_register_menu_item('title', array(