summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-16 03:21:23 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-16 03:21:23 +0000
commit087a47ba5c8cdf5b0f79d9a121b7b9dcbbe7e992 (patch)
treeb223ccb070c29008ef9098484bb44894c2f53410 /modules/user/user.module
parent13d3072f418835569f37f65b5055e5b3180fad2e (diff)
downloadbrdo-087a47ba5c8cdf5b0f79d9a121b7b9dcbbe7e992.tar.gz
brdo-087a47ba5c8cdf5b0f79d9a121b7b9dcbbe7e992.tar.bz2
#493314 by yched and catch: Add multiple hook for formatters.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 8e23ba165..ca787e054 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -2102,6 +2102,9 @@ function user_build($account) {
function user_build_content($account) {
$account->content = array();
+ $accounts = array($account->uid, $account);
+ field_attach_prepare_view('user', $accounts, 'full');
+
// Build fields content.
$account->content += field_attach_view('user', $account);