Explorar el Código

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

Signed-off-by: emanuele <[email protected]>
emanuele hace 11 años
padre
commit
2a85377ddd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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,