Merge pull request #6603 from marc1706/ticket/17305

[ticket/17305] Add missing space to sql_sort
This commit is contained in:
Marc Alexander 2024-04-23 21:43:44 +02:00
commit 42252460a9
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -423,7 +423,7 @@ if ($keywords || $author || $author_id || $search_id || $submit)
if ($sort_key == 'a')
{
$sort_join = USERS_TABLE . ' u, ';
$sql_sort = ' AND u.user_id = ' . ($show_results == 'posts' ? 'p.poster_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')
{