From 4b2d7735b30270ed933ed8ba3d6519183ec87dd6 Mon Sep 17 00:00:00 2001 From: Oliver Schramm Date: Sun, 16 Mar 2014 00:11:12 +0100 Subject: [ticket/7707] Add get_username_string() where possible PHPBB3-7707 --- phpBB/memberlist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/memberlist.php') diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php index 8db2fef2a3..681cc0df36 100644 --- a/phpBB/memberlist.php +++ b/phpBB/memberlist.php @@ -1569,7 +1569,7 @@ switch ($mode) 'S_CUSTOM_PROFILE' => (isset($cp_row['row']) && sizeof($cp_row['row'])) ? true : false, 'S_GROUP_LEADER' => $is_leader, - 'U_VIEW_PROFILE' => append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=viewprofile&u=' . $user_id)) + 'U_VIEW_PROFILE' => get_username_string('profile', $user_id, $row['username'])) ); if (isset($cp_row['row']) && sizeof($cp_row['row'])) -- cgit v1.2.1 From 908057301c023a7d5efcd4aed0e8b8d4c793f15b Mon Sep 17 00:00:00 2001 From: Oliver Schramm Date: Tue, 1 Apr 2014 22:03:59 +0200 Subject: [ticket/7707] Add comma to last entry of arrays PHPBB3-7707 --- phpBB/memberlist.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/memberlist.php') diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php index 681cc0df36..1669deaec6 100644 --- a/phpBB/memberlist.php +++ b/phpBB/memberlist.php @@ -1569,8 +1569,8 @@ switch ($mode) 'S_CUSTOM_PROFILE' => (isset($cp_row['row']) && sizeof($cp_row['row'])) ? true : false, 'S_GROUP_LEADER' => $is_leader, - 'U_VIEW_PROFILE' => get_username_string('profile', $user_id, $row['username'])) - ); + 'U_VIEW_PROFILE' => get_username_string('profile', $user_id, $row['username']), + )); if (isset($cp_row['row']) && sizeof($cp_row['row'])) { -- cgit v1.2.1