aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorNathan <exreaction@phpbb.com>2012-07-10 10:05:39 -0500
committerNathan <exreaction@phpbb.com>2012-07-10 12:34:40 -0500
commit07b9c1e2fdeeab5d394c0b166fb0a6488b049cd1 (patch)
tree335616df90a8717f33bb4cac5e4e4c067dddbd1f /phpBB/viewtopic.php
parent362ba43f18c07c70855e72ebfaea222e04af1183 (diff)
downloadforums-07b9c1e2fdeeab5d394c0b166fb0a6488b049cd1.tar
forums-07b9c1e2fdeeab5d394c0b166fb0a6488b049cd1.tar.gz
forums-07b9c1e2fdeeab5d394c0b166fb0a6488b049cd1.tar.bz2
forums-07b9c1e2fdeeab5d394c0b166fb0a6488b049cd1.tar.xz
forums-07b9c1e2fdeeab5d394c0b166fb0a6488b049cd1.zip
[ticket/8323] Cleanup viewtopic code (not sure how this mess happened)
PHPBB3-8323
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 362451fd83..779e6a8fa7 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -1497,7 +1497,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
)));
// Can this user receive a Private Message?
- $can_receive_pm = ($user_cache[$poster_id]['user_type'] <> USER_IGNORE && $user_cache[$poster_id]['user_type'] <> USER_INACTIVE && (($auth->acl_gets('a_', 'm_') || $auth->acl_getf_global('m_')) || ($user_cache[$poster_id]['allow_pm'] && in_array($poster_id, $can_receive_pm_list) && !in_array($poster_id, $banned_users))) ? true : false;
+ $can_receive_pm = ($user_cache[$poster_id]['user_type'] <> USER_INACTIVE && (($auth->acl_gets('a_', 'm_') || $auth->acl_getf_global('m_')) || ($user_cache[$poster_id]['allow_pm'] && in_array($poster_id, $can_receive_pm_list) && !in_array($poster_id, $banned_users)))) ? true : false;
//
$postrow = array(