mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-27 04:18:55 +00:00
Compare commits
6 commits
c219abf726
...
2008035527
Author | SHA1 | Date | |
---|---|---|---|
|
2008035527 | ||
|
42252460a9 | ||
|
18a672c16e | ||
|
4a3367e594 | ||
|
d60998ba69 | ||
|
1c8128292c |
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ if ($keywords || $author || $author_id || $search_id || $submit)
|
|||
if ($sort_key == 'a')
|
||||
{
|
||||
$sort_join = USERS_TABLE . ' u, ';
|
||||
$sql_sort = ' AND u.user_id = t.topic_last_poster_id ' . $sql_sort;
|
||||
$sql_sort = ' AND u.user_id = ' . ($show_results == 'posts' ? 'p.poster_id ' : 't.topic_last_poster_id ') . $sql_sort;
|
||||
}
|
||||
if ($show_results == 'posts')
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue