aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_privmsgs.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-08-04 13:08:26 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-08-04 13:08:26 +0000
commit0e98a3aee813b4f83b1021d8204b38ba7fd319f0 (patch)
treed4534e3308dcde2e1564d0e4313b56621271b743 /phpBB/includes/functions_privmsgs.php
parentc8daec7c8239fab1cc45eb94829a1a99fd646d46 (diff)
downloadforums-0e98a3aee813b4f83b1021d8204b38ba7fd319f0.tar
forums-0e98a3aee813b4f83b1021d8204b38ba7fd319f0.tar.gz
forums-0e98a3aee813b4f83b1021d8204b38ba7fd319f0.tar.bz2
forums-0e98a3aee813b4f83b1021d8204b38ba7fd319f0.tar.xz
forums-0e98a3aee813b4f83b1021d8204b38ba7fd319f0.zip
Even if the recipient of a PM is now inactive (for whatever reason) still display the information in PM recipient lists and do not hide it
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9918 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_privmsgs.php')
-rw-r--r--phpBB/includes/functions_privmsgs.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/includes/functions_privmsgs.php b/phpBB/includes/functions_privmsgs.php
index 955b310335..f6dd29cd99 100644
--- a/phpBB/includes/functions_privmsgs.php
+++ b/phpBB/includes/functions_privmsgs.php
@@ -1145,8 +1145,7 @@ function write_pm_addresses($check_ary, $author_id, $plaintext = false)
{
$sql = 'SELECT user_id, username, user_colour
FROM ' . USERS_TABLE . '
- WHERE ' . $db->sql_in_set('user_id', $u) . '
- AND user_type IN (' . USER_NORMAL . ', ' . USER_FOUNDER . ')';
+ WHERE ' . $db->sql_in_set('user_id', $u);
$result = $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result))