1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/17305] Add missing space to sql_sort

PHPBB3-17305
This commit is contained in:
Marc Alexander
2024-04-23 20:17:59 +02:00
parent d60998ba69
commit 18a672c16e

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')
{