From 971f9b85095507df123c359be9326e47bc662d0b Mon Sep 17 00:00:00 2001 From: xiaomlove Date: Thu, 11 Aug 2022 03:57:53 +0800 Subject: [PATCH] username medal in the last --- include/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/functions.php b/include/functions.php index 18089a07..30df5f63 100644 --- a/include/functions.php +++ b/include/functions.php @@ -3736,13 +3736,13 @@ function get_username($id, $big = false, $link = true, $bold = true, $target = f //medal $medalHtml = ''; foreach ($arr['wearing_medals'] as $medal) { - $medalHtml .= sprintf('', $medal['image_large'], $medal['name']); + $medalHtml .= sprintf('', $medal['image_large'], $medal['name']); } $href = getSchemeAndHttpHost() . "/userdetails.php?id=$id"; $username = ($link == true ? "" . $username . "" : $username) . $pics . ($withtitle == true ? " (" . ($arr['title'] == "" ? get_user_class_name($arr['class'],false,true,true) : "".htmlspecialchars($arr['title'])) . ")" : ""); - $username = "$medalHtml" . ( $bracket == true ? "(" . $username . ")" : $username) . ""; + $username = "" . ( $bracket == true ? "(" . $username . ")" : $username) . "$medalHtml"; } else {