Browse Source

Changes to comments

Signed-off-by: Suki <[email protected]>
Suki 12 years ago
parent
commit
b974c2a45d
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Sources/Load.php

+ 3 - 3
Sources/Load.php

@@ -1086,7 +1086,7 @@ function loadMemberContext($user, $display_custom_fields = false)
 		$avatar_height = '';
 	}
 
-	// This values are always loaded
+	// These minimal values are always loaded
 	$memberContext[$user] = array(
 		'username' => $profile['member_name'],
 		'name' => $profile['real_name'],
@@ -1099,9 +1099,9 @@ function loadMemberContext($user, $display_custom_fields = false)
 		'registered_timestamp' => empty($profile['date_registered']) ? 0 : forum_time(true, $profile['date_registered']),
 	);
 
-	// Load this if set isn't minimal, it is still a monstrous array...
+	// If the set isn't minimal then load the monstrous array.
 	if ($context['loadMemberContext_set'] != 'minimal')
-		$memberContext[$user] = array(
+		$memberContext[$user] += array(
 			'is_buddy' => $profile['buddy'],
 			'is_reverse_buddy' => in_array($user_info['id'], $buddy_list),
 			'buddies' => $buddy_list,