diff options
author | Evan Winslow <evan@elgg.org> | 2012-11-11 16:17:59 -0800 |
---|---|---|
committer | Evan Winslow <evan@elgg.org> | 2012-11-11 16:17:59 -0800 |
commit | ff19c7ba9265a396d34182f369ee4e4c3269a438 (patch) | |
tree | afa9e59f1570a41681e432eb2c7c24dcdbd1eb36 /mod/messages | |
parent | 9b714e32ad6bddbaddbbf278fa82dbb3308bb412 (diff) | |
download | elgg-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.php | 2 |
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( |