mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 03:34:04 +02:00
Fix bug #47765 - Search by authorname does not display posts of deactivated users
Authorised by: AcydBurn git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9732 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -114,7 +114,7 @@ if ($keywords || $author || $author_id || $search_id || $submit)
|
||||
$sql = 'SELECT user_id
|
||||
FROM ' . USERS_TABLE . "
|
||||
WHERE $sql_where
|
||||
AND user_type IN (" . USER_NORMAL . ', ' . USER_FOUNDER . ')';
|
||||
AND user_type <> " . USER_IGNORE;
|
||||
$result = $db->sql_query_limit($sql, 100);
|
||||
|
||||
while ($row = $db->sql_fetchrow($result))
|
||||
|
Reference in New Issue
Block a user