Browse Source

The fix for the profile query error (thanks...Spuds I think for the fix)

Signed-off-by: emanuele <[email protected]>
emanuele 11 years ago
parent
commit
2a85377ddd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/Load.php

+ 1 - 1
Sources/Load.php

@@ -1110,7 +1110,7 @@ function loadMemberContext($user, $display_custom_fields = false)
 
 	// Load this if set isn't minimal, it is still a 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,