aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/pages
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-12-05 01:19:20 +0100
committerSem <sembrestels@riseup.net>2012-12-05 01:19:20 +0100
commitf1bf7ee85a2c2a170e5e034ff5ee66ed374feb7c (patch)
treea48013741dbe81f36e03d3aaf1aaf09813f0e9ac /mod/messages/pages
parentb2232139f13b759e8f5ce62def75eaeaa530a5b6 (diff)
downloadelgg-f1bf7ee85a2c2a170e5e034ff5ee66ed374feb7c.tar.gz
elgg-f1bf7ee85a2c2a170e5e034ff5ee66ed374feb7c.tar.bz2
Refs #4842. Fixed typo.
Diffstat (limited to 'mod/messages/pages')
-rw-r--r--mod/messages/pages/messages/read.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/messages/pages/messages/read.php b/mod/messages/pages/messages/read.php
index eb36eaa4b..c25ba9ec3 100644
--- a/mod/messages/pages/messages/read.php
+++ b/mod/messages/pages/messages/read.php
@@ -38,8 +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(
'name' => 'reply',