diff options
author | Jakub Senko <jakubsenko@gmail.com> | 2014-10-26 08:44:21 +0100 |
---|---|---|
committer | Jakub Senko <jakubsenko@gmail.com> | 2014-10-26 08:44:21 +0100 |
commit | 79274e904c19f119966ed027718db39104175bab (patch) | |
tree | b25c02c8ded338c555b76b0f2e7e9a0aa501425f /phpBB/includes | |
parent | 5581a30f58cbde1da41bf13d29e0cd6868dc44f8 (diff) | |
download | forums-79274e904c19f119966ed027718db39104175bab.tar forums-79274e904c19f119966ed027718db39104175bab.tar.gz forums-79274e904c19f119966ed027718db39104175bab.tar.bz2 forums-79274e904c19f119966ed027718db39104175bab.tar.xz forums-79274e904c19f119966ed027718db39104175bab.zip |
[ticket/13193] Swap ternary condition members
PHPBB3-13193
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/ucp/ucp_pm_viewmessage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_viewmessage.php b/phpBB/includes/ucp/ucp_pm_viewmessage.php index 68973e1049..b2dc962f57 100644 --- a/phpBB/includes/ucp/ucp_pm_viewmessage.php +++ b/phpBB/includes/ucp/ucp_pm_viewmessage.php @@ -213,7 +213,7 @@ function view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row) 'AUTHOR_AVATAR' => (isset($user_info['avatar'])) ? $user_info['avatar'] : '', 'AUTHOR_JOINED' => $user->format_date($user_info['user_regdate']), 'AUTHOR_POSTS' => (int) $user_info['user_posts'], - 'U_AUTHOR_POSTS' => ($auth->acl_get('u_search') && $config['load_search']) ? append_sid("{$phpbb_root_path}search.$phpEx", "author_id=$author_id&sr=posts") : '', + 'U_AUTHOR_POSTS' => ($config['load_search'] && $auth->acl_get('u_search')) ? append_sid("{$phpbb_root_path}search.$phpEx", "author_id=$author_id&sr=posts") : '', 'CONTACT_USER' => $user->lang('CONTACT_USER', get_username_string('username', $author_id, $user_info['username'], $user_info['user_colour'], $user_info['username'])), 'ONLINE_IMG' => (!$config['load_onlinetrack']) ? '' : ((isset($user_info['online']) && $user_info['online']) ? $user->img('icon_user_online', $user->lang['ONLINE']) : $user->img('icon_user_offline', $user->lang['OFFLINE'])), |