[ticket/16657] Properly decode usernames in member list live-search

PHPBB3-16657
This commit is contained in:
3D-I 2021-07-13 09:02:43 +02:00
parent 2869e04756
commit ac781e570f

View file

@ -986,7 +986,7 @@ switch ($mode)
{ {
$user_list[] = array( $user_list[] = array(
'user_id' => (int) $row['user_id'], 'user_id' => (int) $row['user_id'],
'result' => $row['username'], 'result' => htmlspecialchars_decode($row['username']),
'username_full' => get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']), 'username_full' => get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']),
'display' => get_username_string('no_profile', $row['user_id'], $row['username'], $row['user_colour']), 'display' => get_username_string('no_profile', $row['user_id'], $row['username'], $row['user_colour']),
); );