diff options
author | Oliver Schramm <oliver.schramm97@gmail.com> | 2014-03-16 00:11:12 +0100 |
---|---|---|
committer | Oliver Schramm <oliver.schramm97@gmail.com> | 2014-03-16 00:11:12 +0100 |
commit | 4b2d7735b30270ed933ed8ba3d6519183ec87dd6 (patch) | |
tree | 1b4d97caa5278959a38a34288eae2c0773495eb8 /phpBB/includes/acp/auth.php | |
parent | 325931a56bcaf23fb8bb3e1e3395ed739714f5d9 (diff) | |
download | forums-4b2d7735b30270ed933ed8ba3d6519183ec87dd6.tar forums-4b2d7735b30270ed933ed8ba3d6519183ec87dd6.tar.gz forums-4b2d7735b30270ed933ed8ba3d6519183ec87dd6.tar.bz2 forums-4b2d7735b30270ed933ed8ba3d6519183ec87dd6.tar.xz forums-4b2d7735b30270ed933ed8ba3d6519183ec87dd6.zip |
[ticket/7707] Add get_username_string() where possible
PHPBB3-7707
Diffstat (limited to 'phpBB/includes/acp/auth.php')
-rw-r--r-- | phpBB/includes/acp/auth.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/auth.php b/phpBB/includes/acp/auth.php index a023bced0a..06f83b2775 100644 --- a/phpBB/includes/acp/auth.php +++ b/phpBB/includes/acp/auth.php @@ -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); |