1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/13713] Get usernames from the data fetched by user_loader class

PHPBB3-13713
This commit is contained in:
lavigor
2018-09-14 12:09:30 +03:00
committed by Marc Alexander
parent 5ed207c4a0
commit e036c40b67
5 changed files with 7 additions and 7 deletions

View File

@@ -46,7 +46,7 @@ class topic extends base_user
* Results will be cached on a per-topic basis
*/
$query = $this->db->sql_build_query('SELECT', [
'SELECT' => 'u.username_clean, u.username, u.user_id, t.topic_poster',
'SELECT' => 'u.username_clean, u.user_id, t.topic_poster',
'FROM' => [
USERS_TABLE => 'u',
],