Skip to content

Commit

Permalink
Merge branch '3.3.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
marc1706 committed Apr 22, 2024
2 parents c219abf + d60998b commit 4a3367e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpBB/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@
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')
{
Expand Down

0 comments on commit 4a3367e

Please sign in to comment.