diff --git a/public/user.php b/public/user.php
index f246e57..d37a4c1 100644
--- a/public/user.php
+++ b/public/user.php
@@ -43,7 +43,7 @@ $total_pfav = array_sum(
$total_yfav = $profile_info->favourites->count();
// Badges
-$profile_badge = match ((int) 5) {
+$profile_badge = match ((int) $profile_info['badge']) {
1 => '
',
2 => '
',
3 => '
',