diff options
author | Steve Clay <steve@mrclay.org> | 2012-11-13 23:01:35 -0800 |
---|---|---|
committer | Steve Clay <steve@mrclay.org> | 2012-11-13 23:01:35 -0800 |
commit | 41758a11c67a6f72ac60fce1febc1bac073242b7 (patch) | |
tree | e441876d40f55591e76073646652aeb6c940a472 /mod/messages | |
parent | 667c0da0290b2c1fee3854f93e8caa77584c3c5f (diff) | |
parent | 2536e0bbcf1b20bbbdecd2ef378e0b4e488f7f2f (diff) | |
download | elgg-41758a11c67a6f72ac60fce1febc1bac073242b7.tar.gz elgg-41758a11c67a6f72ac60fce1febc1bac073242b7.tar.bz2 |
Merge pull request #409 from beck24/site-messages-reply-code-cleanup
adds parentheses to clarify comparison logic
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 a64623564..4223c6bac 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', |