diff --git a/Sources/Load.php b/Sources/Load.php index 37d8310..0418aa9 100644 --- a/Sources/Load.php +++ b/Sources/Load.php @@ -1139,7 +1139,8 @@ function loadMemberContext($user, $display_custom_fields = false) $stars = explode(';', $profile['stars']); $star = explode('#', $stars[0]); $group_stars = str_repeat('*', empty($star[0]) || empty($star[1]) ? 0 : $star[0]); - $badges = array_shift($stars); + // Remove first element in $stars to get the badges. + array_shift($stars); if (count($stars) > 0) { $group_stars .= '
  • '; $count = 0;