From 511115f6b879c90b1ccdde9484c83eaa7e7bbacf Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 6 May 2009 11:31:44 +0000 Subject: - Patch #453720 by yched: fixed the display of user fields. --- modules/user/user.pages.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/user/user.pages.inc b/modules/user/user.pages.inc index f5d684e6b..36a40bee1 100644 --- a/modules/user/user.pages.inc +++ b/modules/user/user.pages.inc @@ -201,7 +201,7 @@ function template_preprocess_user_profile(&$variables) { $variables['user_profile'] = implode($variables['profile']); // Add $FIELD_NAME_rendered variables for fields. - $variables += field_attach_preprocess('user', $variables['account']); + $variables += field_attach_preprocess('user', $account); } /** -- cgit v1.2.3