From f9ce2ffafcd9439326ed6e23cad4b9a7373db3d6 Mon Sep 17 00:00:00 2001 From: phpBB TR <166284197+phpbbtr@users.noreply.github.com> Date: Wed, 19 Jun 2024 03:10:41 +0300 Subject: [PATCH] [ticket/17346] Last bumped by username data Missing username color and username url --- phpBB/viewtopic.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index f14cb5b6d8..82e786d0cd 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -1904,7 +1904,8 @@ for ($i = 0, $end = count($post_list); $i < $end; ++$i) // It is safe to grab the username from the user cache array, we are at the last // post and only the topic poster and last poster are allowed to bump. // Admins and mods are bound to the above rules too... - $l_bumped_by = sprintf($user->lang['BUMPED_BY'], $user_cache[$topic_data['topic_bumper']]['username'], $user->format_date($topic_data['topic_last_post_time'], false, true)); + $display_username = get_username_string('full', $topic_data['topic_bumper'], $user_cache[$topic_data['topic_bumper']]['username'], $user_cache[$topic_data['topic_bumper']]['user_colour']); + $l_bumped_by = sprintf($user->lang['BUMPED_BY'], $display_username, $user->format_date($topic_data['topic_last_post_time'], false, true)); } else {