mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/7707] Add get_username_string() where possible
PHPBB3-7707
This commit is contained in:
@@ -649,8 +649,8 @@ class auth_admin extends \phpbb\auth\auth
|
||||
{
|
||||
$template->assign_block_vars('role_mask.users', array(
|
||||
'USER_ID' => $row['user_id'],
|
||||
'USERNAME' => $row['username'],
|
||||
'U_PROFILE' => append_sid("{$phpbb_root_path}memberlist.$phpEx", "mode=viewprofile&u={$row['user_id']}"))
|
||||
'USERNAME' => get_username_string('username', $row['user_id'], $row['username']),
|
||||
'U_PROFILE' => get_username_string('profile', $row['user_id'], $row['username']))
|
||||
);
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
|
Reference in New Issue
Block a user