From: Meik S. <acy...@ph...> - 2009-08-04 13:09:13
|
Author: acydburn Date: Tue Aug 4 14:08:26 2009 New Revision: 9918 Log: 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 Modified: branches/phpBB-3_0_0/phpBB/includes/functions_privmsgs.php Modified: branches/phpBB-3_0_0/phpBB/includes/functions_privmsgs.php ============================================================================== *** branches/phpBB-3_0_0/phpBB/includes/functions_privmsgs.php (original) --- branches/phpBB-3_0_0/phpBB/includes/functions_privmsgs.php Tue Aug 4 14:08:26 2009 *************** *** 1145,1152 **** { $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 . ')'; $result = $db->sql_query($sql); while ($row = $db->sql_fetchrow($result)) --- 1145,1151 ---- { $sql = 'SELECT user_id, username, user_colour FROM ' . USERS_TABLE . ' ! WHERE ' . $db->sql_in_set('user_id', $u); $result = $db->sql_query($sql); while ($row = $db->sql_fetchrow($result)) |