Commit 511115f6 authored by Dries's avatar Dries

- Patch #453720 by yched: fixed the display of user fields.

parent 11067d38
......@@ -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);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment