1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-29 02:59:52 +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

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