diff options
author | Matt Beckett <beck24@gmail.com> | 2012-10-22 00:01:45 -0600 |
---|---|---|
committer | Matt Beckett <beck24@gmail.com> | 2012-10-22 00:01:45 -0600 |
commit | 2536e0bbcf1b20bbbdecd2ef378e0b4e488f7f2f (patch) | |
tree | 90d46d75d053b22d72bda09cc83dac45fbad8a41 /mod | |
parent | b412b990eb3e8d30acbcf927c531d77f529ce8c4 (diff) | |
download | elgg-2536e0bbcf1b20bbbdecd2ef378e0b4e488f7f2f.tar.gz elgg-2536e0bbcf1b20bbbdecd2ef378e0b4e488f7f2f.tar.bz2 |
adds parentheses to clarify comparison logic
Diffstat (limited to 'mod')
-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..05411b68b 100644 --- a/mod/messages/pages/messages/read.php +++ b/mod/messages/pages/messages/read.php @@ -40,7 +40,7 @@ if ($inbox) { $content .= elgg_view_form('messages/reply', $form_params, $body_params); $from_user = get_user($message->fromID); - if (elgg_get_logged_in_user_guid() == elgg_get_page_owner_guid() && $from_user) { + if ((elgg_get_logged_in_user_guid() == elgg_get_page_owner_guid()) && $from_user) { elgg_register_menu_item('title', array( 'name' => 'reply', 'href' => '#messages-reply-form', |