浏览代码

Since we are appending this to $memberContext better globalize it first...

Signed-off-by: Suki <[email protected]>
Suki 11 年之前
父节点
当前提交
6465303229
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Sources/Load.php

+ 1 - 1
Sources/Load.php

@@ -1251,7 +1251,7 @@ function loadMemberContext($user, $display_custom_fields = false)
 function loadMemberCustomFields($users)
 {
 	global $modSettings, $context, $smcFunc, $txt;
-	global $scripturl, $settings;
+	global $scripturl, $settings, $memberContext;
 
 	// Make sure it's an array.
 	$users = !is_array($users) ? array($users) : array_unique($users);