diff --git a/Sources/Load.php b/Sources/Load.php
index f10b529..34c34fe 100644
--- a/Sources/Load.php
+++ b/Sources/Load.php
@@ -1129,33 +1129,36 @@ function loadMemberContext($user, $display_custom_fields = false)
$profile['signature'] = parse_bbc($profile['signature'], true, 'sig' . $profile['id_member']);
$profile['is_online'] = (!empty($profile['show_online']) || allowedTo('moderate_forum')) && $profile['is_online'] > 0;
-
+
// xxx changed for awards
// orig:
// $profile['stars'] = empty($profile['stars']) ? array('', '') : explode('#', $profile['stars']);
- if(empty($profile['stars'])){
+ if (empty($profile['stars'])) {
$group_stars = '';
- }else{
- $stars = array();
- $count = 0;
- foreach (explode(';', $profile['stars']) as $star){
- $star = explode('#', $star);
- if($count == 0){ // original stars
- $group_stars = str_repeat('', empty($star[0]) || empty($star[1]) ? 0 : $star[0]);
- }else{ // awards
- // # $star[0] is number of images
- // but in this case, it specifies whether the award is to be shown
- // on mitb.com, mscp.org, or both
- // 1 = both, 2 = mscp, 3 = mitb
- // otherwise it will be equal to $award_id
- //if( ($star[0] == 1) || ($star[0] == 2 && defined('MSCP')) || ($star[0] == 3 && !defined('MSCP')) || $star[0] == $award_id)
- $group_stars .= "\n\t\t\t\t\t\t".'