mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 03:34:04 +02:00
git-svn-id: file:///svn/phpbb/trunk@7779 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -299,14 +299,14 @@ if ($keywords || $author || $author_id || $search_id || $submit)
|
||||
$last_post_time = '';
|
||||
}
|
||||
|
||||
|
||||
if ($sort_key == 'a')
|
||||
{
|
||||
$sort_join = USERS_TABLE . ' u, ';
|
||||
$sql_sort = ' AND u.user_id = p.poster_id ' . $sql_sort;
|
||||
}
|
||||
if ($show_results == 'posts')
|
||||
{
|
||||
if ($sort_key == 'a')
|
||||
{
|
||||
$sort_join = USERS_TABLE . ' u, ';
|
||||
$sql_sort = ' AND u.user_id = p.poster_id ' . $sql_sort;
|
||||
}
|
||||
|
||||
$sql = "SELECT p.post_id
|
||||
FROM $sort_join" . POSTS_TABLE . ' p, ' . TOPICS_TABLE . " t
|
||||
WHERE t.topic_replies = 0
|
||||
|
Reference in New Issue
Block a user