From fa0727dc8067967597b955fbf0d4b465b8113ed9 Mon Sep 17 00:00:00 2001 From: phpBB TR <166284197+phpbbtr@users.noreply.github.com> Date: Wed, 11 Dec 2024 20:54:10 +0300 Subject: [PATCH] Update viewtopic.php --- phpBB/viewtopic.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index af8746983b..152e7ee52f 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -1904,8 +1904,7 @@ 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... - $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)); + $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)); } else {