diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2009-07-08 12:48:07 +0000 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2009-07-08 12:48:07 +0000 |
commit | acf0fad19ab1323e9df96b094a2d38f338ce6da0 (patch) | |
tree | adf34d1b1e10990282444d6876b8103eecff0403 /phpBB/search.php | |
parent | f368e0ec09b38c885465478ff965400ffdc5c65e (diff) | |
download | forums-acf0fad19ab1323e9df96b094a2d38f338ce6da0.tar forums-acf0fad19ab1323e9df96b094a2d38f338ce6da0.tar.gz forums-acf0fad19ab1323e9df96b094a2d38f338ce6da0.tar.bz2 forums-acf0fad19ab1323e9df96b094a2d38f338ce6da0.tar.xz forums-acf0fad19ab1323e9df96b094a2d38f338ce6da0.zip |
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
Diffstat (limited to 'phpBB/search.php')
-rw-r--r-- | phpBB/search.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/search.php b/phpBB/search.php index c7c1d47257..48c0290d87 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -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)) |